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

Method MaySubmitNewTasks

be/src/kudu/util/threadpool.h:725–728  ·  view source on GitHub ↗

Returns true if new tasks may be submitted to this token.

Source from the content-addressed store, hash-verified

723
724 // Returns true if new tasks may be submitted to this token.
725 bool MaySubmitNewTasks() const {
726 return state_ != State::QUIESCING &&
727 state_ != State::QUIESCED;
728 }
729
730 State state() const { return state_; }
731 ThreadPool::ExecutionMode mode() const { return mode_; }

Callers 2

RunLoopMethod · 0.80
DoSubmitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected