[libdispatch-dev] Question about event handling in libdispatch

cee1 fykcee1 at gmail.com
Fri Aug 27 20:20:17 PDT 2010

Hi all,

A kevent can associate with more than one source. What if:

   1. A kevent of EVFILT_READ indicating that data is available to read.
   2. A series of sources associating with this kevent are waken up.
   3. One source handler fetches the data.
   4. The rest source handlers will find there is no data available to read
   in monitored fd.

It seems waking up more than one source doesn't make sense here? The rest
source handlers will simply fail to read.


- cee1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20100828/a67f6e41/attachment.html>

More information about the libdispatch-dev mailing list