8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

THD_yield() should just release the CPU, it shouldn't wait. Hence we get significant speed-up for the GC/sweep.

This commit is contained in:
dimitr 2003-05-14 08:09:47 +00:00
parent 1ccadc51e7
commit 9495d04093

View File

@ -1567,7 +1567,7 @@ void THD_yield(void)
#endif
#ifdef WIN_NT
SleepEx(1, FALSE);
SleepEx(0, FALSE);
#endif
#endif /* ANY_THREADING */
}