summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/win32/OSThreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c
index 410346916b..c9cb5d6856 100644
--- a/rts/win32/OSThreads.c
+++ b/rts/win32/OSThreads.c
@@ -86,7 +86,7 @@ waitCondition ( Condition* pCond, Mutex* pMut )
void
yieldThread()
{
- Sleep(0);
+ SwitchToThread();
return;
}