CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/05/17 04:53:14
Modified files:
sys/kern : kern_event.c
sys/sys : event.h
Log message:
Add kqueue_scan_state struct
The struct keeps track of the end point of an event queue scan by
persisting the end marker. This will be needed when kqueue_scan() is
called repeatedly to complete a scan in a piecewise fashion. The end
marker has to be preserved between calls because otherwise the scan
might collect an event more than once. If a collected event gets
reactivated during scanning, it will be added at the tail of the queue,
out of reach because of the end marker.
OK mpi@