On Sat, Dec 17, 2016 at 6:48 PM, Rainer Jung <rainer.j...@kippdata.de> wrote: > This commit introduced a new dependency on pthread_mutex_timedlock. Although > its presence is detected by configure and locks/unix/thread_mutex.c checks > HAVE_PTHREAD_MUTEX_TIMEDLOCK and provides an alternative implementation if > it is not defined, file locks/unix/proc_mutex.c uses pthread_mutex_timedlock > unconditionally.
Thanks Rainer for noticing, hopefully fixed in r1774973. I wonder if we could fall back to using pthread_cond_timewait() like we do for thread_mutex, but that'd require pthread_condattr_setpshared() to be available on the system. Is it the case at least on this older Solaris? It's possibly not worth it too, thoughts? Regards, Yann.