Home
last modified time | relevance | path

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

/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()
101 idleThreadNum_--; in SpawnThread()
102 ZLOGD(LOG_LABEL, "now idleThreadNum:%{public}d", idleThreadNum_); in SpawnThread()
131 idleThreadNum_++; in RemoveThread()
169 idleThreadNum_ += diff / PROTO_NUM; in UpdateMaxThreadNum()
/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()
199 * if idleThreadNum_ is zero, make a new thread
201 std::atomic<uint32_t> idleThreadNum_; member in OHOS::NetStack::ThreadPool
/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_thread_pool.h66 int idleThreadNum_; member in OHOS::IPC_SINGLE::IPCWorkThreadPool

Completed in 2 milliseconds