Date: Sun, 9 Apr 2000 00:48:34 -0500 From: Jonathan Lemon <jlemon@flugsvamp.com> To: arch@freebsd.org Subject: kqueue again Message-ID: <20000409004834.R80578@prism.flugsvamp.com>
next in thread | raw e-mail | index | archive | help
I've put up a new patch and some tiny test programs again at: http://www.flugsvamp.com/~jlemon/fbsd This round adds support for signal notification via kqueues, and also process exit notification. API changes: The kevent() call now takes an array of pointers to `struct kevent' on input. This allows the structures to be embedded in a larger structure, instead of requiring them to be contiguous in memory. Hoever, the full `struct kevent' is returned when an event happens, instead of trying to use a pointer to update the original structure. This allows the user not to keep any state between kevent() calls, if they choose. To assist the user in tracking their requests, a void *udata field was added to struct kqueue. This field is passed in and out of the kernel untouched, so the user may use it in any fashion. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000409004834.R80578>