Fix sem_post() behaviour to wake up multiple waiting threads.
2 files changed