ladybird/Userland/Libraries/LibPthread/CMakeLists.txt
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

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})