mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
a44ddc4793
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 |