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 /src/thread/synccall.c | |
parent | add comments on some of the pthread_exit logic (diff) | |
download | grovel-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.gz grovel-c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62.tar.xz |
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/thread/synccall.c')
0 files changed, 0 insertions, 0 deletions