Home | History | Annotate | Download | only in libldap

Lines Matching refs:PAUSED

66 enum { NOT_PAUSED = 0, WANT_PAUSE = 1, PAUSED = 2 };
114 /* not paused and something to do for pool_<wrapper/pause/destroy>()
133 /* Max pending + paused + idle tasks, negated when ltp_finishing */
136 int ltp_pending_count; /* Pending + paused + idle tasks */
137 int ltp_active_count; /* Active, not paused/idle tasks */
153 /* paused and waiting for resume
182 /* Max pending + paused + idle tasks, negated when ltp_finishing */
528 * pool is paused */
549 assert(pool->ltp_pause == PAUSED);
779 count = (pool->ltp_pause == PAUSED);
981 /* thread_keys[] is read-only when paused */
1005 if (task == NULL) { /* paused or no pending tasks */
1020 /* Not paused, and either finishing or too many
1144 pause = pool->ltp_pause; /* NOT_PAUSED, WANT_PAUSE or PAUSED */
1222 pool->ltp_pause = PAUSED;
1236 /* Cancel pool_idle(). If the pool is paused, wait it out first. */
1298 * Return when all other tasks are paused or idle.
1324 assert(pool->ltp_pause == PAUSED);
1429 * May only be called while the pool is paused.