use atomic decrement rather than cas in pthread_exit thread count
[musl] / src / process / posix_spawnattr_setflags.c
2011-05-28 Rich Felkerinitial implementation of posix_spawn