On Mon, Oct 23, 2006, William Ahern wrote:
 
> Note that with poll and select you don't lose much by shifting an event in
> and out of a polling state. However, with things like epoll() and kqueue()
> you potentially incur a system call everytime you do switch the notification
> state of each descriptor, which is costly.

>From my reading of the kqueue code this isn't the case.
The change is 'bundled up' into the 'changes' array and kept there
until the next call to kq_dispatch().



Adrian

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to