Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c44 ASSERT(tpool->tp_current == 0 && tpool->tp_active == NULL); in delete_pool()
79 if (--tpool->tp_current == 0 && in worker_cleanup()
149 if (tpool->tp_current <= tpool->tp_minimum || in tpool_worker()
207 if (elapsed && tpool->tp_current > tpool->tp_minimum) { in tpool_worker()
352 else if (tpool->tp_current < tpool->tp_maximum && in tpool_dispatch()
354 tpool->tp_current++; in tpool_dispatch()
393 while (tpool->tp_current != 0) in tpool_destroy()
410 if (tpool->tp_current == 0) { in tpool_abandon()
482 while (excess-- > 0 && tpool->tp_current < tpool->tp_maximum) { in tpool_resume()
485 tpool->tp_current++; in tpool_resume()
[all …]
H A Dthread_pool_impl.h81 int tp_current; /* current number of worker threads */ member