4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00
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
..
2017-02-06 16:55:09 -05:00
2017-02-06 16:55:09 -05:00
2013-07-02 21:30:57 +00:00
2015-06-23 16:14:53 +01:00
2016-07-04 17:13:55 +01:00
2017-02-06 16:55:09 -05:00
2016-08-15 17:35:21 +02:00
2015-11-19 16:31:08 +01:00
2015-04-23 21:57:08 +02:00
2016-08-15 17:35:21 +02:00
2016-08-15 17:35:21 +02:00