MCPcopy Create free account
hub / github.com/alibaba/MNN / active

Method active

source/backend/cpu/ThreadPool.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void ThreadPool::active() {
111 {
112 std::lock_guard<std::mutex> _l(mQueueMutex);
113 mActiveCount++;
114 }
115 mCondition.notify_all();
116}
117void ThreadPool::deactive() {
118 mActiveCount--;
119}

Callers 3

_bindCPUCoreMethod · 0.80
onConcurrencyBeginMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 1

runMethod · 0.64