On Thu, Jun 02, 2011 at 04:59:22PM -0600, Juan Pablo L
<[email protected]> wrote:
> Any tip would be appreciated on how to deal with this situation, maybe
You claim to have read the documentation but managed to miss the "Be smart
about timeouts" section?
> i may have thousands if not millions of sockets and timers (one timer per
> socket)
If your timeouts are all constant, then method #4 would be O(1) and very
fast, too.
If any questions are left after reading the docs, feel free to ask them :)
--
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