use atomic decrement rather than cas in pthread_exit thread count
[musl] / arch / mips / bits / io.h
2012-11-19 Rich Felkerfix breakage from introducing bits header for sys/io.h