diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-04-26 16:05:39 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-04-26 16:05:39 -0400 |
commit | c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62 (patch) | |
tree | 266e3a83fb5a0ffc2ed146035c58b17f7a1f280e /include/poll.h | |
parent | 6e531f999a82cf39a951e1e9bba3cb80a6eb1464 (diff) | |
download | musl-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.gz musl-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.bz2 musl-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.xz musl-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.zip |
use atomic decrement rather than cas in pthread_exit thread count
now that blocking signals prevents any application code from running
while the last thread is exiting, the cas logic is no longer needed to
prevent decrementing below zero.
Diffstat (limited to 'include/poll.h')
0 files changed, 0 insertions, 0 deletions