From owner-freebsd-hackers Wed Sep 25 15:22:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FCA437B401 for ; Wed, 25 Sep 2002 15:22:10 -0700 (PDT) Received: from mxzilla2.xs4all.nl (mxzilla2.xs4all.nl [194.109.6.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091EB43E6E for ; Wed, 25 Sep 2002 15:22:09 -0700 (PDT) (envelope-from micheloo@xs4all.nl) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.3.12]) by mxzilla2.xs4all.nl (8.12.3/8.12.3) with ESMTP id g8PMM8ee072175; Thu, 26 Sep 2002 00:22:08 +0200 (CEST) Received: (from micheloo@localhost) by xs2.xs4all.nl (8.11.6/8.11.6) id g8PMM8h85597; Thu, 26 Sep 2002 00:22:08 +0200 (CEST) (envelope-from micheloo) Date: Thu, 26 Sep 2002 00:22:07 +0200 From: Michel Oosterhof To: Terry Lambert Cc: hackers@freebsd.org Subject: Re: kqueue Message-ID: <20020925222207.GA85539@xs4all.nl> Reply-To: Michel Oosterhof References: <20020925081253.GA98975@xs4all.nl> <3D91F3CA.728A1108@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D91F3CA.728A1108@mindspring.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 25, 2002 at 10:35:06AM -0700, Terry Lambert wrote: > The obvious objection to such changes is that the internals > of the RPC library are sufficiently exposed that there is a > near-dependency on the use of select; if you look at the "rpc" > man page, for example, you will see, among other things: > > fd_set svc_fdset; > > A global variable reflecting the RPC service side's read file > descriptor bit mask; it is suitable as a template parameter to > the select(2) system call. This is only of interest if a service > implementor does not call svc_run(), but rather does his own > asynchronous event processing. This variable is read-only (do > not pass its address to select(2)!), yet it may change after > calls to svc_getreqset() or any creation routines. As well, note > that if the process has descriptor limits which are extended > beyond FD_SETSIZE, this variable will only be usable for the > first FD_SETSIZE descriptors. Actually, this is not in my rpc(3) manpage on my -CURRENT system! I could not find a reference to svc_fdset in any of the -CURRENT manpages. It is on my -STABLE system however. regards, Michel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message