Home | History | Annotate | Download | only in qemu

Lines Matching defs:IoLooper

6 /* An IOLooper is an abstraction for select() */
8 typedef struct IoLooper IoLooper;
10 IoLooper* iolooper_new(void);
11 void iolooper_free( IoLooper* iol );
12 void iolooper_reset( IoLooper* iol );
14 void iolooper_add_read( IoLooper* iol, int fd );
15 void iolooper_add_write( IoLooper* iol, int fd );
16 void iolooper_del_read( IoLooper* iol, int fd );
17 void iolooper_del_write( IoLooper* iol, int fd );
23 void iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags);
25 int iolooper_poll( IoLooper* iol );
31 int iolooper_wait( IoLooper* iol, int64_t duration );
33 int iolooper_is_read( IoLooper* iol, int fd );
34 int iolooper_is_write( IoLooper* iol, int fd );
35 /* Returns 1 if this IoLooper has one or more file descriptor to interact with */
36 int iolooper_has_operations( IoLooper* iol );
59 * iol IoLooper instance for an I/O.
66 int iolooper_wait_absolute(IoLooper* iol, int64_t deadline);