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

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

Completed in 16 milliseconds