diff options
Diffstat (limited to 'modules/pthread-rwlock')
-rw-r--r-- | modules/pthread-rwlock | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/pthread-rwlock b/modules/pthread-rwlock new file mode 100644 index 0000000000..cb30e44d26 --- /dev/null +++ b/modules/pthread-rwlock @@ -0,0 +1,33 @@ +Description: +POSIX read-write locks. + +Files: +lib/pthread-rwlock.c +m4/pthread-rwlock.m4 + +Depends-on: +pthread-h +pthread-cond [test $gl_threads_api = posix && test $REPLACE_PTHREAD_RWLOCK_INIT = 1] +nanosleep [test $gl_threads_api = posix && test $HAVE_PTHREAD_RWLOCK_INIT = 1 && test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0] +windows-timedrwlock [test $gl_threads_api = windows] + +configure.ac: +gl_PTHREAD_RWLOCK +if test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0 || test $REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = 1; then + AC_LIBOBJ([pthread-rwlock]) +fi +gl_PTHREAD_MODULE_INDICATOR([pthread-rwlock]) + +Makefile.am: + +Include: +<pthread.h> + +Link: +$(LIBTHREAD) or $(LIBMULTITHREAD) + +License: +LGPLv2+ + +Maintainer: +all |