Lines Matching refs:looper
147 IoLooper* looper;
159 looper = iolooper_new();
164 iolooper_reset(looper);
177 iolooper_add_read(looper, node->fd);
180 iolooper_add_write(looper, node->fd);
187 if (!iolooper_has_operations(looper)) {
192 ret = iolooper_wait(looper, -1);
205 iolooper_is_read(looper, node->fd) &&
210 iolooper_is_write(looper, node->fd) &&
228 iolooper_free(looper);