summaryrefslogtreecommitdiff
path: root/src/process/fork.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-04-26 16:05:39 -0400
committerRich Felker <dalias@aerifal.cx>2013-04-26 16:05:39 -0400
commitc3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62 (patch)
tree266e3a83fb5a0ffc2ed146035c58b17f7a1f280e /src/process/fork.c
parent6e531f999a82cf39a951e1e9bba3cb80a6eb1464 (diff)
downloadmusl-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.gz
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 'src/process/fork.c')
0 files changed, 0 insertions, 0 deletions