Can I use ev_loop only for read ?

Terry Xiang xqterry at gmail.com
Sun Mar 15 05:56:30 CET 2009


Hi

2009/3/14 Marc Lehmann schmorp at schmorp.de

>
> I guess the reason you never got a reply to this is thta nobody understood
> what you mean. If you wnat only one callback invocation, you cna use a
> single
> watcher with both EV_READ and WRITE.
>

Thanks for your reply. Sorry, I knew my english was bad but it's worse than
I thought.


> If you want to read and write from a fd conmcurrently, you ineed need two
> threads, but most likely, that's not the best solution.


  Oh, I thought reading and writing simultaneously on a full duplex socket
could get better performance. Could you give me any tip of the good
solution? Any suggestion will be appreciated.


> > On 2009-3-8, at PM9:20, Ryan Dahl wrote:
> also, quoting all mails you received is a great waste of our time - we
> already have those mails, and looking through them to see that you did not
> reply to it takes time.
>

I am sorry for that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20090315/830f7d5d/attachment.html>


More information about the libev mailing list