CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2020/10/11 01:11:59
Modified files: sys/kern : kern_event.c sys/sys : event.h Log message: Refactor kqueue_scan() to use a context: a "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. Extracted from a previous diff from visa@. ok visa@, anton@