[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] pthread_cond_timedwait realtime clock race




On Sep 20, 2012 1:47 PM, "David Goulet" <dgoulet@xxxxxxxxx> wrote:
>
> I was thinking that maybe we could simply set the monotonic clock
> source, if available, by default in the evthread_posix_cond_alloc().

Seems plausible to me -- either at alloc time or wait time, whichever works better.

(Remember to use the master branch for its improved monotonic time implementation)

Cheers,
-N