acadia-newlib/newlib/libc/include/sys
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
..
_default_fcntl.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
_intsup.h Support calculation of pointer size for __int20__ type in _intsup.h 2019-06-25 13:37:16 -04:00
_locale.h Rename <xlocale.h> back to <sys/_locale.h> 2019-06-14 10:02:08 +02:00
_pthreadtypes.h
_sigset.h
_stdint.h
_timespec.h Synchronize <sys/_timespec.h> with FreeBSD 2019-11-04 07:03:15 +01:00
_timeval.h Move timeval macros to <sys/time.h> 2019-11-04 07:03:15 +01:00
_types.h Reduce namespace pollution from <sys/_types.h> 2022-07-08 06:57:52 +02:00
_tz_structs.h libc/time: Move internal newlib tz-structs into own header 2020-10-15 16:59:51 +02:00
cdefs.h cdefs.h: Remove redundant #ifdefs 2022-07-11 11:52:46 +02:00
config.h Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
custom_file.h
dir.h
dirent.h
errno.h Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
fcntl.h
features.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
fenv.h Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
file.h
iconvnls.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
lock.h ansification: remove _CAST_VOID 2018-01-17 11:47:17 -06:00
param.h
queue.h This commit brings in a new refactored TCP stack called Rack. 2018-08-24 15:00:04 +02:00
reent.h Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
resource.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
sched.h
select.h Cygwin: redefine some macros for Linux compatibility 2022-07-07 08:22:40 -04:00
signal.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
stat.h Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
stdio.h ansification: remove _CAST_VOID 2018-01-17 11:47:17 -06:00
string.h
syslimits.h Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
time.h Revert "sys/types.h: Don't include sys/_stdint.h" 2022-05-04 15:08:44 +02:00
timeb.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
times.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
timespec.h
tree.h sys/tree.h: Red child with black sibling rotations 2021-10-07 17:58:36 +02:00
types.h Reduce namespace pollution from <sys/_types.h> 2022-07-08 06:57:52 +02:00
unistd.h Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
utime.h
wait.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00