From owner-freebsd-arch Sat Apr 8 22:45:39 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id C1F4E37B5D5 for ; Sat, 8 Apr 2000 22:45:27 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id HAA09850 for ; Sun, 9 Apr 2000 07:49:06 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id HAA02012 for freebsd-arch@freebsd.org; Sun, 9 Apr 2000 07:45:24 +0200 (CEST) Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 541FA37B5D5 for ; Sat, 8 Apr 2000 22:45:18 -0700 (PDT) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.9.3/8.9.3) id AAA65926 for arch@freebsd.org; Sun, 9 Apr 2000 00:48:34 -0500 (CDT) (envelope-from jlemon) Date: Sun, 9 Apr 2000 00:48:34 -0500 From: Jonathan Lemon To: arch@freebsd.org Subject: kqueue again Message-ID: <20000409004834.R80578@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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