Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
110
void ThreadPool::active() {
111
{
112
std::lock_guard<std::mutex> _l(mQueueMutex);
113
mActiveCount++;
114
}
115
mCondition.notify_all();
116
}
117
void ThreadPool::deactive() {
118
mActiveCount--;
119
}
Callers
3
_bindCPUCore
Method · 0.80
onConcurrencyBegin
Method · 0.80
run
Method · 0.80
Calls
no outgoing calls
Tested by
1
run
Method · 0.64