use atomic decrement rather than cas in pthread_exit thread count
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty