mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
![]() Semaphores with values greater than one didn't work because whoever called sem_wait() first held the semaphore's mutex until a matching sem_post() call. Other callers then wouldn't be able to acquire the semaphore even if the semaphore's value was still greater than zero at that point. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
pthread.cpp | ||
pthread.h | ||
pthread_once.cpp | ||
semaphore.cpp | ||
semaphore.h |