newlib-cygwin/newlib/libc/reent
Matt Joyce ea99f21ce6 Add --enable-newlib-reent-thread-local option
By default, Newlib uses a huge object of type struct _reent to store
thread-specific data.  This object is returned by __getreent() if the
__DYNAMIC_REENT__ Newlib configuration option is defined.

The reentrancy structure contains for example errno and the standard input,
output, and error file streams.  This means that if an application only uses
errno it has a dependency on the file stream support even if it does not use
it.  This is an issue for lower end targets and applications which need to
qualify the software according to safety standards (for example ECSS-E-ST-40C,
ECSS-Q-ST-80C, IEC 61508, ISO 26262, DO-178, DO-330, DO-333).

If the new _REENT_THREAD_LOCAL configuration option is enabled, then struct
_reent is replaced by dedicated thread-local objects for each struct _reent
member.  The thread-local objects are defined in translation units which use
the corresponding object.
2022-07-13 06:55:46 +02:00
..
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
closer.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
execr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
fcntlr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
fstat64r.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
fstatr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
getreent.c ansification: remove _DEFUN_VOID 2018-01-17 11:47:19 -06:00
gettimeofdayr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
impure.c Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
isattyr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
linkr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
lseek64r.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
lseekr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
mkdirr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
open64r.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
openr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
readr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
reent.c Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
reent.tex 2005-10-14 Bob Wilson <bob.wilson@acm.org> 2005-10-14 18:37:24 +00:00
renamer.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
sbrkr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
signalr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
signgam.c ansification: remove _DEFUN_VOID 2018-01-17 11:47:19 -06:00
stat64r.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
statr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
timesr.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
unlinkr.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
writer.c Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00