jeffpc / nx01

testing
MIT License
1 stars 0 forks source link

provide a way to do a relative timed condition wait on Linux #12

Closed jeffpc closed 8 years ago

jeffpc commented 8 years ago

On Illumos, there is pthread_cond_reltimedwait_np which works fine. Sadly, Linux doesn't have this POSIX extension. The good news is, it should be relatively easy to provide an implementation using the absolute timed condition wait (pthread_cond_timedwait).