Hi, On Tuesday 15 December 2015 05:12:04 you wrote: > So, for a Read example, I would setup a different callback
that is totally up to you and depends on the application. Usually, if you are watching for read+write events at the same time, you use the same callback on the same watcher, if you do write/read sequentially you will do that in different callbacks. > Would it be required to issue a ev_io_stop > to halt the callback? You mean to halt the watcher. Yes, you must do that. > Probably not. Another scenario: Could I put the read > callback into a separate thread than the write callback (if say we are > using a rs-485 asynchronous 4 wire uart)? Thanks! You can. Why would you want to, though? -- Best regards, Thilo Schulz _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/mailman/listinfo/libev
