fix Thread::force_yield() on win7
This commit is contained in:
parent
30e2c680e7
commit
ede16a5287
|
|
@ -122,7 +122,7 @@ sleep(double seconds) {
|
|||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void ThreadWin32Impl::
|
||||
yield() {
|
||||
sleep(0.0);
|
||||
Sleep(1);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue