X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fwin32%2FOSThreads.c;h=c9cb5d685621871fe67f4fd7767a6494e3a65c30;hb=7effbbbbdfe7eb05c6402fa9337e358e7e9fadde;hp=410346916bddde9122bbd95a906fac5cdb602ce7;hpb=4c22e67ec95fd5fb54dbd758325f562831e7d19d;p=ghc-hetmet.git diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c index 4103469..c9cb5d6 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; }