ev_io_set

钱晓明 mailtoantares at 163.com
Mon Jun 11 11:39:49 CEST 2012


If I have started a io_watcher with EV_READ event, but later I want to set EV_WRITE event in callback function of EV_READ, should I have to call ev_io_stop first, then ev_io_set and ev_io_start again?
If all messages have been send, should I call ev_io_stop again, clear EV_WRITE event  and ev_io_start again?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20120611/d2a2df2d/attachment.html>


More information about the libev mailing list