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

Method num_required_threads

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

Returns the number of threads that are from AcquireThreadToken.

Source from the content-addressed store, hash-verified

153
154 /// Returns the number of threads that are from AcquireThreadToken.
155 int num_required_threads() const { return num_threads_.Load() & REQUIRED_MASK; }
156
157 /// Returns the number of thread resources returned by successful calls
158 /// to TryAcquireThreadToken.

Callers 1

TESTFunction · 0.80

Calls 1

LoadMethod · 0.45

Tested by 1

TESTFunction · 0.64