Lines Matching full:ready
101 * users expect a single call with a mask of ready events.
131 unsigned ready;
149 io->ready = 0;
164 if (io->ready != 0) {
166 io->ready = 0;
173 if (io->ready == 0) {
176 io->ready |= flag;
202 if (io->ready && (io->ready & wanted) == 0) {
245 if (io->ready)
261 return io->ready;
356 unsigned ready;
360 /* call the user callback, clear io->ready before to
364 ready = io->ready;
365 io->ready = 0;
366 io->user_callback(io->user_opaque, io->fd, ready);