!19259 [MSLITE] thread_pool RunWithSpin spin_count

Merge pull request !19259 from ling/pr
This commit is contained in:
i-robot 2021-07-03 06:17:45 +00:00 committed by Gitee
commit 2115594104
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ void ActorWorker::RunWithSpin() {
}
if (spin_count_ >= kDefaultSpinCount) {
WaitUntilActive();
spin_count_ = 0;
}
}
}