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

Method Shutdown

be/src/kudu/util/pstack_watcher.cc:61–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void PstackWatcher::Shutdown() {
62 {
63 MutexLock guard(lock_);
64 running_ = false;
65 cond_.Broadcast();
66 }
67 if (thread_) {
68 CHECK_OK(ThreadJoiner(thread_.get()).Join());
69 thread_.reset();
70 }
71}
72
73bool PstackWatcher::IsRunning() const {
74 MutexLock guard(lock_);

Callers

nothing calls this directly

Calls 5

ThreadJoinerClass · 0.85
BroadcastMethod · 0.80
getMethod · 0.65
resetMethod · 0.65
JoinMethod · 0.45

Tested by

no test coverage detected