mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
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::
|
INLINE void ThreadWin32Impl::
|
||||||
yield() {
|
yield() {
|
||||||
sleep(0.0);
|
Sleep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user