use atomic decrement rather than cas in pthread_exit thread count
[musl] / src / math / nan.c
2012-03-13 Rich Felkerimplement nan, nanf, nanl