1
0
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:
Leon Krause
2018-03-20 04:15:27 +01:00
parent c4a8b8f7c5
commit 25800ffb0e
7 changed files with 30 additions and 25 deletions

View File

@@ -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();