mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-05 01:55:21 +03:00
00d8dbe739
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
12 lines
264 B
CMake
12 lines
264 B
CMake
set(SOURCES
|
|
forward.cpp
|
|
pthread.cpp
|
|
pthread_cond.cpp
|
|
pthread_once.cpp
|
|
semaphore.cpp
|
|
)
|
|
|
|
serenity_libc(LibPthread pthread)
|
|
target_link_libraries(LibPthread LibC LibSystem)
|
|
target_include_directories(LibPthread PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|