use atomic decrement rather than cas in pthread_exit thread count
[musl] / src / internal / syscall_ret.c
2011-09-26 Rich Felkercleanup various minor issues reported by nsz
2011-03-19 Rich Felkeroverhaul syscall interface