summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-03-07 02:42:24 +0100
committerBruno Haible <bruno@clisp.org>2021-03-07 11:01:59 +0100
commitf4bf3936b988eb65361e04b0ca3898681b787c58 (patch)
tree2a207af76565f4dd565775739bb765fb65f58a45 /doc
parentd26b0a2672f5adec9658ac606661b2f3b24c0336 (diff)
downloadgnulib-f4bf3936b988eb65361e04b0ca3898681b787c58.tar.gz
exclude: Allow stdio optimization independently of 'unlocked-io'.
* lib/exclude.c: Test GNULIB_EXCLUDE_SINGLE_THREAD instead of USE_UNLOCKED_IO. * modules/exclude (Depends-on): Add unlocked-io-internal. * doc/multithread.texi: Document GNULIB_EXCLUDE_SINGLE_THREAD.
Diffstat (limited to 'doc')
-rw-r--r--doc/multithread.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/multithread.texi b/doc/multithread.texi
index a63d3ee0fa..082ccb05b5 100644
--- a/doc/multithread.texi
+++ b/doc/multithread.texi
@@ -278,4 +278,8 @@ been initialized. This macro optimizes the functions @code{mbrtowc} and
You may define the C macro @code{GNULIB_GETUSERSHELL_SINGLE_THREAD}, if all the
programs in your package invoke the functions @code{setusershell},
@code{getusershell}, @code{endusershell} only from a single thread.
+@item
+You may define the C macro @code{GNULIB_EXCLUDE_SINGLE_THREAD}, if all the
+programs in your package invoke the functions of the @code{exclude} module
+only from a single thread.
@end itemize