Commit cb7e8821 authored by Simon Marlow's avatar Simon Marlow

Win32 yieldThread(): use SwitchToThread() instead of Sleep(0)

parent e4173b1b
......@@ -86,7 +86,7 @@ waitCondition ( Condition* pCond, Mutex* pMut )
void
yieldThread()
{
Sleep(0);
SwitchToThread();
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment