diff options
Diffstat (limited to 'LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp')
-rw-r--r-- | LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp b/LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp index 0d8851b..af5d80b 100644 --- a/LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp +++ b/LibOVRKernel/Src/Kernel/OVR_ThreadsPthread.cpp @@ -911,10 +911,10 @@ void Thread::YieldCurrentThread() { #if defined(OVR_OS_MAC) || defined(OVR_OS_BSD) pthread_yield_np(); - #elif defined(OVR_OS_ANDROID) - sched_yield(); + #elif defined(OVR_OS_ANDROID) + sched_yield(); #else // Linux - pthread_yield(); + sched_yield(); #endif } |