use atomic decrement rather than cas in pthread_exit thread count
[musl] / src / string / memrchr.c
2011-04-13 Rich Felkerimplement memrchr (nonstandard) and optimize strrchr...