omit pthread tsd dtor code if tsd is not used
[musl] / src / thread / sem_post.c
2011-03-04 Rich Felkerimplement POSIX semaphores