diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-05-29 16:35:09 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-05-29 16:35:09 -0400 |
commit | 2e55da911896a91e95b24ab5dc8a9d9b0718f4de (patch) | |
tree | 4a43f5d7b6b3f68d4e7a3df42e819643a0a50b11 /src/aio | |
parent | d677d3fe830899926072af6dfffefb16ab6b50bd (diff) | |
download | musl-2e55da911896a91e95b24ab5dc8a9d9b0718f4de.tar.gz musl-2e55da911896a91e95b24ab5dc8a9d9b0718f4de.tar.bz2 musl-2e55da911896a91e95b24ab5dc8a9d9b0718f4de.tar.xz musl-2e55da911896a91e95b24ab5dc8a9d9b0718f4de.zip |
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.
Diffstat (limited to 'src/aio')
0 files changed, 0 insertions, 0 deletions