2 Lock a mutex, abandoning after a certain time.
5 lib/pthread_mutex_timedlock.c
6 m4/pthread_mutex_timedlock.m4
10 nanosleep [test $HAVE_PTHREAD_T = 1 && test $HAVE_PTHREAD_MUTEX_TIMEDLOCK = 0]
13 gl_FUNC_PTHREAD_MUTEX_TIMEDLOCK
14 if test $HAVE_PTHREAD_T = 1 && test $HAVE_PTHREAD_MUTEX_TIMEDLOCK = 0; then
15 AC_LIBOBJ([pthread_mutex_timedlock])
17 gl_PTHREAD_MODULE_INDICATOR([pthread_mutex_timedlock])