mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
* lib/threads.in.h (call_once): Declare as part of module 'call_once', not module 'mtx'. * lib/call_once.c: New file, extracted from lib/mtx.c. * lib/mtx.c (call_once): Remove function. * m4/threads_h.m4 (gl_THREADS_H_REQUIRE_DEFAULTS): Inititalize GNULIB_CALL_ONCE. * modules/threads-h (Makefile.am): Substitute GNULIB_CALL_ONCE. * modules/call_once: New file, based on modules/mtx. * modules/threads (Depends-on): Add call_once. * tests/test-threads-c++.cc: Update accordingly. * modules/call_once-tests: New file, based on modules/mtx-tests. * modules/mtx-tests (Files): Remove tests/test-call_once.c. (Makefile.am): Don't compile test-call_once. * doc/posix-functions/call_once.texi: Document that the relevant module is now 'call_once'. * NEWS: Mention the change.
29 lines
215 B
Plaintext
29 lines
215 B
Plaintext
Description:
|
|
ISO C 11 multithreading functions.
|
|
|
|
Files:
|
|
|
|
Depends-on:
|
|
threads-h
|
|
thrd
|
|
call_once
|
|
mtx
|
|
cnd
|
|
tss
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<threads.h>
|
|
|
|
Link:
|
|
$(LIBSTDTHREAD)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|