mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
LibPthread: Implement named semaphores
Note that as part of this commit semaphore.cpp is excluded from the DynamicLoader, as the dynamic loader does not build with pthread.cpp which semaphore.cpp uses.
This commit is contained in:
parent
23f3857cdd
commit
01f0ae20b6
3 changed files with 179 additions and 10 deletions
|
@ -26,7 +26,7 @@ if (ENABLE_UNDEFINED_SANITIZER)
|
|||
endif()
|
||||
|
||||
# pthread requires thread local storage, which DynamicLoader does not have.
|
||||
list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".*/LibC/pthread\\.cpp")
|
||||
list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".*/LibC/(pthread|semaphore)\\.cpp")
|
||||
|
||||
add_definitions(-D_DYNAMIC_LOADER)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue