mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-07 10:45:18 +01:00
On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times.
8 lines
194 B
CMake
8 lines
194 B
CMake
set(JTHREAD_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/event.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mutex.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/thread.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/semaphore.cpp
|
|
PARENT_SCOPE)
|
|
|