diff options
author | Bruno Haible <bruno@clisp.org> | 2019-07-15 02:37:41 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-07-15 02:37:41 +0200 |
commit | 222a7e6cb8b1d514efeca426345dc273e92233df (patch) | |
tree | 7ed173927d19956f93fd8e2b7023e4ec1114423f /modules | |
parent | fdff0fd122cef97dc88e8e173bcce253534da145 (diff) | |
download | gnulib-222a7e6cb8b1d514efeca426345dc273e92233df.tar.gz |
pthread-once: New module.
* lib/pthread-once.c: New file.
* m4/pthread-once.m4: New file.
* modules/pthread-once: New file.
* doc/posix-functions/pthread_once.texi: Mention the new module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pthread-once | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/pthread-once b/modules/pthread-once new file mode 100644 index 0000000000..3e25c76d3e --- /dev/null +++ b/modules/pthread-once @@ -0,0 +1,31 @@ +Description: +POSIX once-only control. + +Files: +lib/pthread-once.c +m4/pthread-once.m4 + +Depends-on: +pthread-h +windows-once [test $gl_threads_api = windows] + +configure.ac: +gl_PTHREAD_ONCE +if test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1; then + AC_LIBOBJ([pthread-once]) +fi +gl_PTHREAD_MODULE_INDICATOR([pthread-once]) + +Makefile.am: + +Include: +<pthread.h> + +Link: +$(LIBMULTITHREAD) + +License: +LGPLv2+ + +Maintainer: +all |