!19259 [MSLITE] thread_pool RunWithSpin spin_count
Merge pull request !19259 from ling/pr
This commit is contained in:
commit
2115594104
|
@ -42,6 +42,7 @@ void ActorWorker::RunWithSpin() {
|
|||
}
|
||||
if (spin_count_ >= kDefaultSpinCount) {
|
||||
WaitUntilActive();
|
||||
spin_count_ = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue