Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dipc_thread_pool.c28 #define PROTO_NUM 2 macro
31 static RemoteInvoker *g_invoker[PROTO_NUM];
120 for (int32_t index = 0; index < PROTO_NUM; ++index) { in InitThreadPool()
135 for (int32_t index = 0; index < PROTO_NUM; ++index) { in DeinitThreadPool()
199 threadPool->idleThreadNum += diff / PROTO_NUM; in UpdateMaxThreadNum()
200 threadPool->idleSocketThreadNum += diff / PROTO_NUM; in UpdateMaxThreadNum()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_thread_pool.cpp150 return maxThreadNum_ / PROTO_NUM; in GetSocketTotalThreadNum()
155 return maxThreadNum_ / PROTO_NUM; in GetMaxThreadNum()
170 idleThreadNum_ += diff / PROTO_NUM; in UpdateMaxThreadNum()
171 idleSocketThreadNum_ += diff / PROTO_NUM; in UpdateMaxThreadNum()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_thread_pool.h61 static constexpr int PROTO_NUM = 2;