Searched refs:tpool (Results 1 – 4 of 4) sorted by relevance
47 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) { in delete_pool()52 free(tpool); in delete_pool()79 if (tpool->tp_head == NULL && tpool->tp_active == NULL) { in notify_waiters()135 if (tpool->tp_current <= tpool->tp_minimum || in tpool_worker()194 if (elapsed && tpool->tp_current > tpool->tp_minimum) { in tpool_worker()228 tpool_t *tpool; in tpool_create() local236 tpool = calloc(1, sizeof (*tpool)); in tpool_create()254 return (tpool); in tpool_create()287 else if (tpool->tp_current < tpool->tp_maximum && in tpool_dispatch()364 while (tpool->tp_head != NULL || tpool->tp_active != NULL) { in tpool_wait()[all …]
69 struct tpool { struct
44 typedef struct tpool tpool_t; /* opaque thread pool descriptor */50 extern int tpool_dispatch(tpool_t *tpool,52 extern void tpool_destroy(tpool_t *tpool);53 extern void tpool_abandon(tpool_t *tpool);54 extern void tpool_wait(tpool_t *tpool);55 extern void tpool_suspend(tpool_t *tpool);56 extern int tpool_suspended(tpool_t *tpool);57 extern void tpool_resume(tpool_t *tpool);58 extern int tpool_member(tpool_t *tpool);
94 apr_pool_t* tpool; in select_rows() local104 apr_pool_create(&tpool, pool); in select_rows()111 apr_pool_clear(tpool); in select_rows()131 apr_pool_clear(tpool); in select_rows()