Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/apr-util/misc/
Dapr_thread_pool.c62 volatile apr_size_t idle_cnt; member
132 me->thd_cnt = me->idle_cnt = me->task_cnt = me->scheduled_task_cnt = 0; in thread_pool_construct()
255 --me->idle_cnt; in thread_pool_func()
281 if ((me->idle_cnt >= me->idle_max in thread_pool_func()
297 ++me->idle_cnt; in thread_pool_func()
307 else if (me->idle_cnt > me->idle_max) { in thread_pool_func()
567 if (0 == me->thd_cnt || (0 == me->idle_cnt && me->thd_cnt < me->thd_max && in add_task()
729 return me->thd_cnt - me->idle_cnt; in apr_thread_pool_busy_count()
734 return me->idle_cnt; in apr_thread_pool_idle_count()
788 n = me->idle_cnt; in trim_threads()
[all …]