This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
RE: pthread_condattr_setclock() and CLOCK_BOOTTIME
- From: Hannu Mallat <hannu dot mallat at jolla dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Fri, 5 Sep 2014 11:36:20 +0000
- Subject: RE: pthread_condattr_setclock() and CLOCK_BOOTTIME
- Authentication-results: sourceware.org; auth=none
- References: <C916EDABDC17FC45A9CF64E949622B45131FB7 at ord2mbx12c dot mex05 dot mlsrvr dot com>,<54087162 dot 8050801 at redhat dot com>,<C916EDABDC17FC45A9CF64E949622B45132136 at ord2mbx12c dot mex05 dot mlsrvr dot com>
Hm,
looks like this needs a bit more work than I thought initially. Unit test for pthread_cond_timedwait() fails if CLOCK_BOOTTIME is used, and that seems to be due to futex syscall supporting only CLOCK_REALTIME and CLOCK_MONOTONIC.
BR,
H.