summaryrefslogtreecommitdiff
path: root/modules/pthread_mutex_timedlock
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-06-20 03:54:56 +0200
committerBruno Haible <bruno@clisp.org>2019-06-20 03:59:07 +0200
commit79c2545308000d2120009a76bea4f36f06f16b1b (patch)
tree8acbf5d44d2160038130e4f65f40fc0d00e774c4 /modules/pthread_mutex_timedlock
parent97ae5364457c30ea826fa5e6c0c0a41c73a30c38 (diff)
downloadgnulib-79c2545308000d2120009a76bea4f36f06f16b1b.tar.gz
thread, lock, cond, tls: Recognize C11 multithreaded applications.
* m4/threadlib.m4 (gl_THREADLIB_BODY): Test for <threads.h>. * lib/glthread/thread.h (c11_threads_in_use): New macro. (pthread_in_use, pth_in_use, thread_in_use): Use it. * lib/glthread/lock.h (c11_threads_in_use): New macro. (pthread_in_use, pth_in_use, thread_in_use): Use it. * lib/glthread/cond.h (c11_threads_in_use): New macro. (pthread_in_use, pth_in_use, thread_in_use): Use it. * lib/glthread/tls.h (c11_threads_in_use): New macro. (pthread_in_use, pth_in_use, thread_in_use): Use it.
Diffstat (limited to 'modules/pthread_mutex_timedlock')
0 files changed, 0 insertions, 0 deletions