1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00
serenity/Userland/Libraries/LibPthread
Sergey Bugaev 00d8dbe739 LibPthread: Reimplement condition variables
This implementation features a fast path for pthread_cond_signal() and
pthread_cond_broadcast() for the case there's no thread waiting, and
does not exhibit the "thundering herd" issue in
pthread_cond_broadcast().

Fixes https://github.com/SerenityOS/serenity/issues/8432
2021-07-05 20:26:01 +02:00
..
CMakeLists.txt LibPthread: Reimplement condition variables 2021-07-05 20:26:01 +02:00
forward.cpp Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
pthread.cpp LibPthread: Reimplement condition variables 2021-07-05 20:26:01 +02:00
pthread.h LibC: Partially implement pthread_setcancel{state,type}() 2021-05-10 17:44:18 +01:00
pthread_cond.cpp LibPthread: Reimplement condition variables 2021-07-05 20:26:01 +02:00
pthread_once.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
semaphore.cpp LibPthread: Correct error check in sem_post and sem_wait 2021-06-01 08:29:56 +02:00
semaphore.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00