Searched defs:cMaxThreads (Results 1 - 2 of 2) sorted by relevance
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTReqPool.cpp | 55 uint32_t cMaxThreads = 10; local 56 RTTESTI_CHECK_RC_RETV(RTReqPoolCreate(cMaxThreads, RT_MS_1SEC, 6, 500, "test1", &hPool), VINF_SUCCESS); 95 RTTESTI_CHECK(cThreads <= cMaxThreads);
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | reqpool.cpp | 118 uint32_t cMaxThreads; member in struct:RTREQPOOLINT 226 uint32_t const cSteps = pPool->cMaxThreads - pPool->cThreadsPushBackThreshold; 564 || pPool->cCurThreads >= pPool->cMaxThreads) 621 RTDECL(int) RTReqPoolCreate(uint32_t cMaxThreads, RTMSINTERVAL cMsMinIdle, argument 628 if (cMaxThreads == UINT32_MAX) 629 cMaxThreads = RTREQPOOL_MAX_THREADS; 630 AssertMsgReturn(cMaxThreads > 0 && cMaxThreads <= RTREQPOOL_MAX_THREADS, ("%u\n", cMaxThreads), VERR_OUT_OF_RANGE); 631 uint32_t const cMinThreads = cMaxThreads > [all...] |
Completed in 43 milliseconds