open_toontown_panda3d/panda
rdb c2d088f232 pipeline: Don't use Sleep(1) to yield on Windows
Use Sleep(0) instead.  Sleep(0) is not guaranteed to yield, which is a problem, but Sleep(1) can easily take up to 16 ms, which is really unacceptable except in very low-priority thread.  But really, you shouldn't be relying on force_yield() for anything except with the SIMPLE_THREADS model.

There is also SwitchToThread(), but in fact it is even weaker than Sleep(0).
2022-02-23 23:20:53 +01:00
..
metalibs Support building pandagles2 on Android 2021-12-06 22:26:56 +01:00
src pipeline: Don't use Sleep(1) to yield on Windows 2022-02-23 23:20:53 +01:00
CMakeLists.txt CMake: generate panda3d.dist-info directory 2020-04-30 21:37:35 +02:00