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

Method num_threads

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

Return the number of threads currently running (or in the process of starting up) for this thread pool.

Source from the content-addressed store, hash-verified

317 // Return the number of threads currently running (or in the process of starting up)
318 // for this thread pool.
319 int num_threads() const {
320 MutexLock l(lock_);
321 return num_threads_ + num_threads_pending_start_;
322 }
323
324 // Whether the ThreadPool's queue is overloaded. If queue overload threshold
325 // isn't set, returns 'false'. Otherwise, returns whether the queue is

Callers 2

TEST_FFunction · 0.45
StacksHandlerFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36