2 POSIX read-write locks.
10 pthread-cond [test $gl_threads_api != windows && test $REPLACE_PTHREAD_RWLOCK_INIT = 1]
11 nanosleep [test $gl_threads_api != windows && test $HAVE_PTHREAD_RWLOCK_INIT = 1 && test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0]
12 windows-timedrwlock [test $gl_threads_api = windows]
16 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_RWLOCK],
17 [test $REPLACE_PTHREAD_RWLOCK_INIT = 1 || test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0 || test $REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = 1])
18 gl_PTHREAD_MODULE_INDICATOR([pthread-rwlock])
21 if GL_COND_OBJ_PTHREAD_RWLOCK
22 lib_SOURCES += pthread-rwlock.c
29 $(LIBPTHREAD) or $(LIBPMULTITHREAD)