The return of kevent?
Posted May 12, 2007 20:58 UTC (Sat) by
intgr (subscriber, #39733)
In reply to:
The return of kevent? by pphaneuf
Parent article:
The return of kevent?
I concur with all of your points.
Also, in order to do edge-triggered event notification [...] the kernel can't just "forget about it"
It can forget about the events; naturally, events have side effects, and the kernel will have to keep track of the state of its objects. (Or am I missing something?)
If a file descriptor has an event, but is closed before the event is processed, and another connection is accepted
Both APIs have an "opaque pointer" field in their event structures. Applications are supposed to use this for identifying clients, not file descriptor numbers.
(
Log in to post comments)