a question when using libev

echo fatmck at 163.com
Thu Jan 15 07:42:05 CET 2015

you should use ev_io_stop() to stop the ev_io first, then set and start 

在 2015年01月12日 16:10, biliucheng at diditaxi.com.cn 写道:
> hi
>     I encount a problem when using libev. In a callback function, I 
> want to modify the fd's events.
>     I try to use ev_io_set and ev_io_start, but it doesnot work.
>     From libev's code, I guess backend_modify can do it, but it is not 
> an outter interface.
>     Could you tell me what  I should do?
> Thank you
> ------------------------------------------------------------------------
> biliucheng at diditaxi.com.cn
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

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

More information about the libev mailing list