On Thu, May 28, 2009 at 01:23:44AM +0400, blacksand blacksand
<[email protected]> wrote:
> How about to add field in ev_io to get available data to write or read. It
> will be comfortably for kqueue() case ?
if you mean the _amount_, then libev doesn't have this information, so can't
provide it.
even if the kernel interface provides some hint, it's just a hint, and you
still have to try reading to find how much is actually there.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev