1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Description:
POSIX read-write locks.
Files:
lib/pthread-rwlock.c
m4/pthread-rwlock.m4
Depends-on:
pthread-h
pthread-cond [test $gl_threads_api != windows && test $REPLACE_PTHREAD_RWLOCK_INIT = 1]
nanosleep [test $gl_threads_api != windows && test $HAVE_PTHREAD_RWLOCK_INIT = 1 && test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0]
windows-timedrwlock [test $gl_threads_api = windows]
configure.ac:
gl_PTHREAD_RWLOCK
gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_RWLOCK],
[test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0 || test $REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = 1])
gl_PTHREAD_MODULE_INDICATOR([pthread-rwlock])
Makefile.am:
if GL_COND_OBJ_PTHREAD_RWLOCK
lib_SOURCES += pthread-rwlock.c
endif
Include:
<pthread.h>
Link:
$(LIBPTHREAD) or $(LIBPMULTITHREAD)
License:
LGPLv2+
Maintainer:
all
|