1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-17 15:17:38 +00:00
Commit graph

1 commit

Author SHA1 Message Date
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