diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-10 22:16:15 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-10 22:16:15 -0400 |
commit | 47c2a22fd6adcaf3f27b093df49bd97e3fdc16e7 (patch) | |
tree | 6e2c087aacb0887f69c347ab1ec0bddcc479d48a /src/ipc/shmdt.c | |
parent | 7e310e591e61cde57cf3960d6a064a1de2e94e6c (diff) | |
download | musl-47c2a22fd6adcaf3f27b093df49bd97e3fdc16e7.tar.gz |
remove __lock dependency from exit
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.
Diffstat (limited to 'src/ipc/shmdt.c')
0 files changed, 0 insertions, 0 deletions