Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / pthread-mutex
blob9fdd2fecbf7243b1534336a5543c3a018df1eda8
1 Description:
2 POSIX mutexes (locks).
4 Files:
5 lib/pthread-mutex.c
6 m4/pthread-mutex.m4
8 Depends-on:
9 pthread-h
10 pthread_mutex_timedlock [test $gl_threads_api != windows]
11 windows-timedmutex      [test $gl_threads_api = windows]
12 windows-timedrecmutex   [test $gl_threads_api = windows]
14 configure.ac:
15 gl_PTHREAD_MUTEX
16 if test $HAVE_PTHREAD_MUTEX_INIT = 0 || test $REPLACE_PTHREAD_MUTEX_INIT = 1 \
17    || test $HAVE_PTHREAD_MUTEXATTR_GETROBUST = 0 || test $REPLACE_PTHREAD_MUTEXATTR_GETROBUST = 1; then
18   AC_LIBOBJ([pthread-mutex])
20 gl_PTHREAD_MODULE_INDICATOR([pthread-mutex])
22 Makefile.am:
24 Include:
25 <pthread.h>
27 Link:
28 $(LIBPTHREAD) or $(LIBPMULTITHREAD)
30 License:
31 LGPLv2+
33 Maintainer:
34 all