Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c42 ASSERT(tpool->tp_current == 0 && tpool->tp_active == NULL); in delete_pool()
77 if (--tpool->tp_current == 0 && in worker_cleanup()
147 if (tpool->tp_current <= tpool->tp_minimum || in tpool_worker()
205 if (elapsed && tpool->tp_current > tpool->tp_minimum) { in tpool_worker()
350 else if (tpool->tp_current < tpool->tp_maximum && in tpool_dispatch()
352 tpool->tp_current++; in tpool_dispatch()
391 while (tpool->tp_current != 0) in tpool_destroy()
408 if (tpool->tp_current == 0) { in tpool_abandon()
480 while (excess-- > 0 && tpool->tp_current < tpool->tp_maximum) { in tpool_resume()
483 tpool->tp_current++; in tpool_resume()
[all …]
H A Dthread_pool_impl.h79 int tp_current; /* current number of worker threads */ member