MCPcopy Create free account
hub / github.com/ByConity/ByConity / active

Method active

src/Common/ThreadPool.cpp:298–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296
297template <typename Thread>
298size_t ThreadPoolImpl<Thread>::active() const
299{
300 std::unique_lock lock(mutex);
301 return scheduled_jobs;
302}
303
304template <typename Thread>
305bool ThreadPoolImpl<Thread>::finished() const

Callers 6

afterEvictSegmentMethod · 0.80
scheduleCacheTaskMethod · 0.80
scheduleCollectMethod · 0.80
scheduleMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64