From owner-freebsd-arch Thu Apr 6 18: 7:56 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 7F21937B636 for ; Thu, 6 Apr 2000 18:07:52 -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 DAA12341 for ; Fri, 7 Apr 2000 03:11:26 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA34725 for freebsd-arch@freebsd.org; Fri, 7 Apr 2000 03:07:49 +0200 (CEST) Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id E422237B777 for ; Thu, 6 Apr 2000 18:07:42 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id SAA97591; Thu, 6 Apr 2000 18:07:11 -0700 (PDT) From: Archie Cobbs Message-Id: <200004070107.SAA97591@bubba.whistle.com> Subject: Re: RFC: kqueue API and rough code In-Reply-To: <20000406002126.B80578@prism.flugsvamp.com> from Jonathan Lemon at "Apr 6, 2000 00:21:26 am" To: jlemon@flugsvamp.com (Jonathan Lemon) Date: Thu, 6 Apr 2000 18:07:11 -0700 (PDT) Cc: freebsd-arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Lemon writes: > I would like to solicit comments on the kqueue mechanism > that I've been working on. Currently, it will report events > for sockets, vnodes, and aio requests, and hopefully is > designed to be extensible. > > An API document and rough code is at: > > http://www.flugsvamp.com/~jlemon/fbsd Hi Jonathan.. Cool stuff! What about.. FILTER_WRITE connect sockets: socket has connected or failed to connect (same a select(2)'ing on a non-blocking socket after a connect(2)). FILTER_CHILD Child process event. ident is the child PID. Returns same status as wait(4), etc. FILTER_SIGNAL Signal received event. ident is the signal number. Overrides any signal handler for same (? wouldn't work for SEGV, etc :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message