On Mon, Apr 3, 2017 at 10:48 PM, Jim Jagielski <j...@jagunet.com> wrote: > It looks like we can emulate it via: > > > https://github.com/tinycthread/tinycthread/commit/1e8f9bba87959331e616d279dc54676e3a592799
Is PTHREAD_CONDATTR_SETPSHARED defined in pthread.h (or the function pthread_condattr_setpshared)? If that's the case, we could implement a pthread_mutex_timedlock with pthread_cond_timedwait (like we do currently as a fallback for thread-mutexes).