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:
parent
1ccadc51e7
commit
9495d04093
@ -1567,7 +1567,7 @@ void THD_yield(void)
|
||||
#endif
|
||||
|
||||
#ifdef WIN_NT
|
||||
SleepEx(1, FALSE);
|
||||
SleepEx(0, FALSE);
|
||||
#endif
|
||||
#endif /* ANY_THREADING */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user