mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Add RWLockDummy for NO_THREADS builds
This commit is contained in:
@@ -89,10 +89,11 @@ void handle_sigchld(int sig) {
|
||||
|
||||
void OS_Unix::initialize_core() {
|
||||
|
||||
#ifdef NO_PTHREADS
|
||||
#ifdef NO_THREADS
|
||||
ThreadDummy::make_default();
|
||||
SemaphoreDummy::make_default();
|
||||
MutexDummy::make_default();
|
||||
RWLockDummy::make_default();
|
||||
#else
|
||||
ThreadPosix::make_default();
|
||||
SemaphorePosix::make_default();
|
||||
|
||||
Reference in New Issue
Block a user