newlib-cygwin/newlib/libc
Torbjörn SVENSSON dd1122e21c Restore _lock initialization in non-single threaded mode
When __SINGLE_THREAD__ is not defined, stdin, stdout and stderr needs
to have their _lock instance initialized. The __sfp() method is not
invoked for the 3 mentioned fds thus, the std() method needs to handle
the initialization of the lock.

This is more or less a revert of 382550072b

Contributed by STMicroelectronics

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
2022-08-31 10:02:53 +02:00
..
argz newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ctype Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
errno Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
iconv Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
include Cygwin: drop requirement to build newlib's stdio64 2022-08-03 13:41:35 +02:00
locale newlocale: fix crash when trying to write to __C_locale 2022-08-12 12:29:26 +02:00
machine Add _REENT_IS_NULL() 2022-07-13 06:55:46 +02:00
misc Remove __sinit_locks / __sinit_recursive_mutex 2022-05-13 12:31:56 +02:00
posix Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
reent Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
search newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
signal Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
ssp newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
stdio Restore _lock initialization in non-single threaded mode 2022-08-31 10:02:53 +02:00
stdio64 Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
stdlib Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
string Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
sys SH: Do not build syscalls if option provided 2022-08-15 15:12:19 -04:00
syscalls newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
time Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
unix newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xdr newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc Silence xsltproc when writing manpages 2022-05-04 17:05:52 -04:00
Makefile.unidata cleanup Unicode data files after generating updated tables 2021-11-16 11:24:29 +01:00
acinclude.m4 newlib: drop phoenix support 2022-03-28 23:17:06 -04:00
libc.in.xml Generate manpages for functions in chapter sys.tex 2022-05-04 17:06:19 -04:00
libc.texi newlib: libc: include all chapters all the time in the manual 2022-02-04 19:39:09 -05:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00