Re: Proposed new watcher

2010-08-13 Thread Marc Lehmann
On Fri, Aug 13, 2010 at 05:17:40PM +0300, Alexey Khmara wrote: > 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

Re: Proposed new watcher

2010-08-13 Thread Hongli Lai
On Fri, Aug 13, 2010 at 4:17 PM, Alexey Khmara wrote: > Hello. > 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 y

Proposed new watcher

2010-08-13 Thread Alexey Khmara
Hello. 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 10 identical clients that are distinguished by fd. M