From owner-freebsd-hackers Wed Jul 31 10:15:34 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 3D64537B400 for ; Wed, 31 Jul 2002 10:15:32 -0700 (PDT) Received: from mail.malarhojden.nu (malarhojden.nu [195.54.99.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 1319943E42 for ; Wed, 31 Jul 2002 10:15:31 -0700 (PDT) (envelope-from daniel@malarhojden.nu) Received: (qmail 72271 invoked by uid 1000); 31 Jul 2002 17:17:08 -0000 Date: Wed, 31 Jul 2002 19:17:08 +0200 From: Daniel Lundqvist To: David Malone Cc: Terry Lambert , freebsd-hackers@freebsd.org Subject: Re: select()/poll() i kernel. Message-ID: <20020731171658.GC72029@malarhojden.nu> References: <20020730152514.GA66448@malarhojden.nu> <3D471152.4347ABD1@mindspring.com> <20020731163057.GB72029@malarhojden.nu> <20020731164914.GA32252@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020731164914.GA32252@walton.maths.tcd.ie> User-Agent: Mutt/1.3.27i 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, Jul 31, 2002 at 05:49:14PM +0100, David Malone wrote: > On Wed, Jul 31, 2002 at 06:30:57PM +0200, Daniel Lundqvist wrote: > > If anyone has a better solution to this I'm all ears. > > Couldn't you do all this in userland and use a unix domain socket > for communication between your clients and your master process? Then > you could use select/poll/kqueue normally. That is one idea. But part of what I want to do is to skip as much copy to userspace where there is no interested applications as possible. For the thing I'm gonna use it for I expect it to be a quite busy message bus. Maybe the gain in the end is not that big,but I wont know until I tried it :) /Daniel Lundqvist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message