1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

getusershell: Optimize stdio accesses when possible.

* lib/getusershell.c: Test GNULIB_GETUSERSHELL_SINGLE_THREAD instead of
USE_UNLOCKED_IO.
* modules/getusershell (Depends-on): Add unlocked-io-internal.
* doc/multithread.texi: Document GNULIB_GETUSERSHELL_SINGLE_THREAD.
This commit is contained in:
Bruno Haible
2021-03-07 02:21:49 +01:00
parent 212f0b69ab
commit 92052c4491
4 changed files with 16 additions and 3 deletions

View File

@@ -8,8 +8,9 @@ m4/getusershell.m4
Depends-on:
unistd
extensions
fopen-safer [test $HAVE_GETUSERSHELL = 0]
xalloc [test $HAVE_GETUSERSHELL = 0]
fopen-safer [test $HAVE_GETUSERSHELL = 0]
unlocked-io-internal [test $HAVE_GETUSERSHELL = 0]
xalloc [test $HAVE_GETUSERSHELL = 0]
configure.ac:
gl_FUNC_GETUSERSHELL