acadia-newlib/newlib/libc
Thomas Preud'homme fa55c610fa Only define static locks in multithreaded mode
Newlib build system defines __SINGLE_THREAD__ to allow concurrency code
to be only compiled when newlib is configured for multithread. One such
example are locks which become useless in single thread mode. Although
most static locks are indeed guarded by !defined(__SINGLE_THREAD__),
some are not.

This commit adds these missing guards to __dd_hash_mutex,
__atexit_recursive_mutex, __at_quick_exit_mutex and __arc4random_mutex.
It also makes sure locking macros in lock.h are noop in single thread
mode.
2017-02-13 17:04:17 -05:00
..
argz Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
ctype Bump release to 2.5.0 for yearly snapshot. 2016-12-22 21:33:54 -05:00
errno Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
iconv Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
include devctl.h: Fix typo and include proper header 2017-01-25 12:37:19 +01:00
locale nl_langinfo: Add NL_LOCALE_NAME macro 2017-01-20 10:30:47 +01:00
machine arm: Fix addressing in optpld macro 2017-01-26 16:29:36 +01:00
misc Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
posix Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05:00
reent Revert "Fix __getreent function for Cygwin" 2016-08-18 15:24:18 +02:00
search Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
signal Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
stdio Unify names of all lock objects 2017-02-06 16:55:09 -05:00
stdio64 Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
stdlib Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05:00
string Add missing headers to fix implicit function defns 2017-01-16 10:14:28 +01:00
sys RTEMS: Harmonize MAXNAMLEN and NAME_MAX 2017-01-25 12:36:37 +01:00
syscalls Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
time Unify names of all lock objects 2017-02-06 16:55:09 -05:00
unix Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
xdr Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
Makefile.am Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.in Bump release to 2.5.0 for yearly snapshot. 2016-12-22 21:33:54 -05:00
aclocal.m4 Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure Bump release to 2.5.0 for yearly snapshot. 2016-12-22 21:33:54 -05:00
configure.in 2014-07-04 Bin Cheng <bin.cheng@arm.com> 2014-07-04 17:21:45 +00:00
libc.in.xml Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
libc.texinfo Fix versions in documentation (manually for now) 2017-01-09 16:22:02 +01:00
saber
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00