Proposed new watcher

Alexey Khmara alex.khmara at
Fri Aug 13 16:17:40 CEST 2010


I'm trying to use libev in WebSockets server, and was very surprised when
found that for every fd I need to create distinct watcher. Most of my fds
share callback and event mask, and, I think, it's very common scenario -
when you have 100000 identical clients that are distinguished by fd. May be,
it would be useful to add special type of callback for this situation? It
will save memory and hardly can decrease speed.

WBR, Alex Khmara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list