Home
last modified time | relevance | path

Searched refs:idleThreadNum_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_thread_pool.cpp58 idleThreadNum_(maxThreadNum), in IPCWorkThreadPool()
79 if (!(proto == IRemoteObject::IF_PROT_DEFAULT && idleThreadNum_ > 0) && in SpawnThread()
102 idleThreadNum_--; in SpawnThread()
103 ZLOGD(LOG_LABEL, "now idleThreadNum:%{public}d", idleThreadNum_); in SpawnThread()
132 idleThreadNum_++; in RemoveThread()
170 idleThreadNum_ += diff / PROTO_NUM; in UpdateMaxThreadNum()
/ohos5.0/foundation/communication/netstack/utils/common_utils/include/
H A Dthread_pool.h57 explicit ThreadPool(uint32_t timeout) : timeout_(timeout), idleThreadNum_(0), needRun_(true) in ThreadPool()
84 if (runningNum_ < MAX_THREAD_NUM && idleThreadNum_ == 0) { in Push()
149 NumWrapper idleWrapper(idleThreadNum_); in Sleep()
201 std::atomic<uint32_t> idleThreadNum_; variable
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_thread_pool.h66 int idleThreadNum_; variable