You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00: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