Home | History | Annotate | Download | only in libevent

Lines Matching defs:pause

99 	struct evrpc_hook_ctx *pause;
106 while ((pause = TAILQ_FIRST(&base->paused_requests)) != NULL) {
107 TAILQ_REMOVE(&base->paused_requests, pause, next);
108 mm_free(pause);
544 struct evrpc_hook_ctx *pause;
553 while ((pause = TAILQ_FIRST(&pool->paused_requests)) != NULL) {
554 TAILQ_REMOVE(&pool->paused_requests, pause, next);
555 mm_free(pause);
769 struct evrpc_hook_ctx *pause = mm_malloc(sizeof(*pause));
770 if (pause == NULL)
773 pause->ctx = ctx;
774 pause->cb = cb;
776 TAILQ_INSERT_TAIL(&base->pause_requests, pause, next);
785 struct evrpc_hook_ctx *pause;
787 TAILQ_FOREACH(pause, head, next) {
788 if (pause->ctx == ctx)
792 if (pause == NULL)
795 (*pause->cb)(pause->ctx, res);
796 TAILQ_REMOVE(head, pause, next);
797 mm_free(pause);