Lines Matching refs:io
52 // initialise an io watcher, then start it
966 By setting a higher I<io collect interval> you allow libev to spend more
1525 ev_io io; // actual event watcher
1548 ev_io_start (EV_P_ &io);
1553 ev_io_init (&io, io_cb, STDIN_FILENO, EV_READ);
1554 ev_io_start (EV_DEFAULT_ &io);
3022 // create io watchers for each fd and a timer before blocking
3110 // create/start io watcher that sets the relevant bits in fds[n] and increment got_events
3122 // stop io watchers again - their callbacks should have set
3542 a timeout and an io event at the same time - you probably should give io
3587 ev_io io;
3595 ev_io_init (&w.io, my_cb, fd, EV_READ);
4031 =item C<ev::io>, C<ev::timer>, C<ev::periodic>, C<ev::idle>, C<ev::sig> etc.
4079 void io_cb (ev::io &w, int revents) { }
4083 ev::io iow;
4103 void operator() (ev::io &w, int revents)
4111 ev::io w;
4126 static void io_cb (ev::io &w, int revents) { }
4182 ev::io io ; void io_cb (ev::io &w, int revents);
4183 ev::io io2 ; void io2_cb (ev::io &w, int revents);
4188 io .set <myclass, &myclass::io_cb > (this);
4192 io.set (fd, ev::WRITE); // configure the watcher
4193 io.start (); // start it whenever convenient
5381 =item Starting io/check/prepare/idle/signal/child/fork/async watchers: O(1)
5387 =item Stopping an io/signal/child watcher: O(number_of_watchers_for_this_(fd/signal/pid % EV_PID_HA…