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

Method num_threads

be/src/runtime/thread-resource-mgr.h:163–165  ·  view source on GitHub ↗

Returns the total number of thread resources for this pool (i.e. num_optional_threads + num_required_threads).

Source from the content-addressed store, hash-verified

161 /// Returns the total number of thread resources for this pool
162 /// (i.e. num_optional_threads + num_required_threads).
163 int64_t num_threads() const {
164 return num_required_threads() + num_optional_threads();
165 }
166
167 /// Returns true if the number of optional threads has now exceeded the quota.
168 bool optional_exceeded() {

Callers 2

NotifyMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

NotifyMethod · 0.36
TESTFunction · 0.36