musl/src/exit
Rich Felker 2e55da9118 remove useless synchronization in exit and quick_exit
calling exit more than once invokes undefined behavior. in some cases
it's desirable to detect undefined behavior and diagnose it via a
predictable crash, but the code here was silently covering up an
uncommon case (exit from more than one thread) and turning a much more
common case (recursive calls to exit) into a permanent hang.
2014-05-29 16:35:09 -04:00
..
_Exit.c further use of _Noreturn, for non-plain-C functions 2012-09-06 23:34:10 -04:00
abort.c add _Noreturn function attribute, with fallback for pre-C11 GNUC 2012-09-06 23:12:27 -04:00
assert.c __assert_fail(): remove _Noreturn, to get proper stacktraces 2013-01-04 20:36:34 +01:00
at_quick_exit.c add c11 quick_exit and at_quick_exit functions 2012-08-25 22:49:47 -04:00
atexit.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
exit.c remove useless synchronization in exit and quick_exit 2014-05-29 16:35:09 -04:00
quick_exit.c remove useless synchronization in exit and quick_exit 2014-05-29 16:35:09 -04:00