Home | History | Annotate | Download | only in libldap

Lines Matching defs:pause

114 	/* not paused and something to do for pool_<wrapper/pause/destroy>()
154 * When a pause is in effect all workers switch to waiting on
796 * 0 if not pause, 1 if pause, -1 if error or no pool.
1110 #define DO_PAUSE 64 /* CHECK_PAUSE; pause the pool */
1119 int ret = 0, pause, max_ltp_pause;
1144 pause = pool->ltp_pause; /* NOT_PAUSED, WANT_PAUSE or PAUSED */
1147 pause_type -= pause;
1154 if (pause && pq->ltp_active_count < 1) {
1167 /* Wait out pause if any, then cancel GO_IDLE */
1168 if (pause > max_ltp_pause) {
1182 /* Tell everyone else to pause or finish, then await that */
1244 * If a pause was requested, wait for it. If several threads
1245 * are waiting to pause, let through one or more pauses.
1255 /* Return 1 if a pause has been requested */
1271 * Wait for a pause, from a non-pooled thread.
1297 * Pause the pool. The calling task must be active, not idle.
1306 /* End a pause */