On Tue, 07 Dec 2021 16:25:59 +0000, Visa Hankala wrote: > In simple cases that do not have out-of-band data, the system can skip > registering the EVFILT_EXCEPT filter. A new flag could indicate when > the registration is done for select(2). The patch below does the > tweaking for FIFOs and pipes, to demonstrate the idea. Ptys and sockets > need to be adjusted as well. > > The flags should probably be refactored so that __EV_POLL would mean > poll(2) only. However, that results in some mechanical code churn that > I would do separately if the use of __EV_SELECT appears viable in the > first place.
That looks like it should result in the expected behavior. OK millert@ - todd
