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

Method CheckNotPoolThreadUnlocked

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

Source from the content-addressed store, hash-verified

849}
850
851void ThreadPool::CheckNotPoolThreadUnlocked() {
852 Thread* current = Thread::current_thread();
853 if (ContainsKey(threads_, current)) {
854 LOG(FATAL) << Substitute("Thread belonging to thread pool '$0' with "
855 "name '$1' called pool function that would result in deadlock",
856 name_, current->name());
857 }
858}
859
860void ThreadPool::NotifyLoadMeterUnlocked(const MonoDelta& queue_time) {
861 if (!load_meter_) {

Callers 3

ShutdownMethod · 0.80
WaitMethod · 0.80
WaitUntilMethod · 0.80

Calls 3

ContainsKeyFunction · 0.85
SubstituteFunction · 0.85
nameMethod · 0.45

Tested by

no test coverage detected