diff options
author | Bruno Haible <bruno@clisp.org> | 2021-03-07 01:58:10 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-03-07 11:01:52 +0100 |
commit | 212f0b69ab67a4d6230c2ab85e28c2f54b31060c (patch) | |
tree | b3d596e169b3351a012a15ea1d632e6e5e5889b4 /modules/unlocked-io-internal | |
parent | 7ea7c3e27964aaf699ca737b11e2edea289f9ed2 (diff) | |
download | gnulib-212f0b69ab67a4d6230c2ab85e28c2f54b31060c.tar.gz |
unlocked-io-internal: New module.
* m4/unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Don't define
USE_UNLOCKED_IO here.
* modules/unlocked-io-internal: New file, based on modules/unlocked-io.
* modules/unlocked-io (Description): Clarify.
(Files, Depends-on): Just use the unlocked-io-internal module.
(configure.ac): Define GNULIB_STDIO_SINGLE_THREAD and USE_UNLOCKED_IO
here.
* doc/multithread.texi: Clarify when the 'unlocked-io' module can be
used.
Diffstat (limited to 'modules/unlocked-io-internal')
-rw-r--r-- | modules/unlocked-io-internal | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/unlocked-io-internal b/modules/unlocked-io-internal new file mode 100644 index 0000000000..b78944cc9f --- /dev/null +++ b/modules/unlocked-io-internal @@ -0,0 +1,24 @@ +Description: +Allow use of faster, non-thread-safe stdio functions if available, +in specific modules. + +Files: +lib/unlocked-io.h +m4/unlocked-io.m4 + +Depends-on: +extensions + +configure.ac: +gl_FUNC_GLIBC_UNLOCKED_IO + +Makefile.am: + +Include: +"unlocked-io.h" + +License: +GPL + +Maintainer: +Jim Meyering |