diff options
author | Bruno Haible <bruno@clisp.org> | 2019-06-20 03:54:56 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-06-20 03:59:07 +0200 |
commit | 79c2545308000d2120009a76bea4f36f06f16b1b (patch) | |
tree | 8acbf5d44d2160038130e4f65f40fc0d00e774c4 /modules/pthread_mutex_timedlock | |
parent | 97ae5364457c30ea826fa5e6c0c0a41c73a30c38 (diff) | |
download | gnulib-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