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

Method Shutdown

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

Source from the content-addressed store, hash-verified

130}
131
132Status SchedulerThread::Shutdown() {
133 if (thread_) {
134 shutdown_.CountDown();
135 thread_->Join();
136 }
137 return Status::OK();
138}
139
140void SchedulerThread::RunLoop() {
141 while (!shutdown_.WaitFor(MonoDelta::FromMilliseconds(schedule_period_ms_))) {

Callers 8

StopManagerMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45
InserterThreadMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls 15

OKFunction · 0.85
moveFunction · 0.85
ServiceUnavailableFunction · 0.85
CountDownMethod · 0.80
eraseMethod · 0.80
TransitionMethod · 0.80
frontMethod · 0.80
clearMethod · 0.65
JoinMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by 8

StopManagerMethod · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
InserterThreadMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36