mirror of git://git.musl-libc.org/musl
47c2a22fd6
there's no sense in using a powerful lock in exit, because it will never be unlocked. a thread that arrives at exit while exit is already in progress just needs to hang forever. use the pause syscall for this because it's cheap and easy and universally available. |
||
---|---|---|
.. | ||
_Exit.c | ||
abort.c | ||
assert.c | ||
atexit.c | ||
exit.c |