From 212f0b69ab67a4d6230c2ab85e28c2f54b31060c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 7 Mar 2021 01:58:10 +0100 Subject: 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. --- modules/unlocked-io-internal | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/unlocked-io-internal (limited to 'modules/unlocked-io-internal') 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 -- cgit v1.2.1