diff options
Diffstat (limited to 'core/os/thread_dummy.cpp')
| -rw-r--r-- | core/os/thread_dummy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/os/thread_dummy.cpp b/core/os/thread_dummy.cpp index fa0bb3daf..b6371235c 100644 --- a/core/os/thread_dummy.cpp +++ b/core/os/thread_dummy.cpp @@ -55,3 +55,11 @@ Semaphore *SemaphoreDummy::create() { void SemaphoreDummy::make_default() { Semaphore::create_func = &SemaphoreDummy::create; }; + +RWLock *RWLockDummy::create() { + return memnew(RWLockDummy); +}; + +void RWLockDummy::make_default() { + RWLock::create_func = &RWLockDummy::create; +}; |
