Cole wrote: > If I do the above, and just keep increasing number_events and > just mark the kevent as EV_DISABLED or EV_DELETE then all it > does is return that event as soon as I call kevent() with the > following values: ident : 7, filter : -1, flags : 16384
That flags value is EV_ERROR. It indicates your attempt to register an event on a closed descriptor. You do not need to disable or delete events manually if the descriptor is closed, if that was the intent. Closing a descriptor causes all events registered on it to be removed automatically. You need to get those events for closed descriptors out of your input queue. -- James Bailie <[EMAIL PROTECTED]> http://www.mammothcheese.ca _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"