Lines Matching refs:timeouts
281 /* trigger zero timeouts as soon as possible */
284 priorityq_add(timeout->ioloop->timeouts, &timeout->item);
334 priorityq_add(timeout->ioloop->timeouts, &timeout->item);
363 priorityq_add(new_to->ioloop->timeouts, &new_to->item);
391 priorityq_remove(timeout->ioloop->timeouts, &timeout->item);
427 priorityq_remove(timeout->ioloop->timeouts, &timeout->item);
428 priorityq_add(timeout->ioloop->timeouts, &timeout->item);
480 item = priorityq_peek(ioloop->timeouts);
487 /* no timeouts. use INT_MAX msecs for timeval and
546 priorityq_add(ioloop->timeouts, &timeout->item);
556 count = priorityq_count(ioloop->timeouts);
557 items = priorityq_items(ioloop->timeouts);
621 while ((item = priorityq_peek(ioloop->timeouts)) != NULL) {
631 priorityq_remove(timeout->ioloop->timeouts, &timeout->item);
774 ioloop->timeouts = priorityq_init(timeout_cmp, 32);
836 while ((item = priorityq_pop(ioloop->timeouts)) != NULL) {
850 priorityq_deinit(&ioloop->timeouts);