commit | c3a6839ce95c0f93bd73f7fbe5fcaee4054e5b62 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Apr 26 16:05:39 2013 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Apr 26 16:05:39 2013 -0400 |
tree | 266e3a83fb5a0ffc2ed146035c58b17f7a1f280e | |
parent | 6e531f999a82cf39a951e1e9bba3cb80a6eb1464 [diff] |
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.