MCPcopy Create free account
hub / github.com/apache/impala / Wait

Method Wait

be/src/kudu/util/threadpool.cc:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void ThreadPoolToken::Wait() {
269 MutexLock unique_lock(pool_->lock_);
270 pool_->CheckNotPoolThreadUnlocked();
271 while (IsActive()) {
272 not_running_cond_.Wait();
273 }
274}
275
276bool ThreadPoolToken::WaitUntil(const MonoTime& until) {
277 MutexLock unique_lock(pool_->lock_);

Callers 2

ShutdownMethod · 0.45
DispatchThreadMethod · 0.45

Calls 1

Tested by

no test coverage detected