use atomic decrement rather than cas in pthread_exit thread count
[musl] / src / ldso / i386 / dlsym.s
2011-08-16 Rich FelkerRTLD_NEXT support