about summary refs log tree commit diff
path: root/src/exit/quick_exit.c
Commit message (Collapse)AuthorAgeFilesLines
* remove useless synchronization in exit and quick_exitRich Felker2014-05-291-4/+0
| | | | | | | | 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.
* add _Noreturn function attribute, with fallback for pre-C11 GNUCRich Felker2012-09-061-1/+1
|
* add c11 quick_exit and at_quick_exit functionsRich Felker2012-08-251-0/+15