mirror of https://github.com/macssh/macssh.git
decreased process ticks
This commit is contained in:
parent
90d15c6e88
commit
e5bedb30ef
|
@ -255,7 +255,7 @@ void GUSIProcess::Yield(GUSIYieldMode wait)
|
|||
}
|
||||
if (fExistingThreads < 2) // Single threaded process skips sleep only once
|
||||
fDontSleep = false;
|
||||
if (wait == kGUSIYield && LMGetTicks() - fResumeTicks < 12) {
|
||||
if (wait == kGUSIYield && LMGetTicks() - fResumeTicks < 0) {
|
||||
fWillSleep = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue