From owner-freebsd-hackers Sun Jul 4 18:56:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id A9128150F7 for ; Sun, 4 Jul 1999 18:56:41 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id VAA66263; Sun, 4 Jul 1999 21:56:35 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Sun, 4 Jul 1999 21:56:35 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Archie Cobbs Cc: Christopher Sedore , peter@netplex.com.au, green@unixhelp.org, jlemon@americantv.com, wayne@crb-web.com, hackers@FreeBSD.org Subject: Re: poll() vs select() In-Reply-To: <199907050103.SAA51932@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 4 Jul 1999, Archie Cobbs wrote: > Christopher Sedore writes: > > A new, faster event notification system would be great. But don't forget > to include *all* events, not just file descriptor readability/writability. > I.e., signal delivery, child exit notification, maybe even support for > an arbitrary number of (independent) timers. And make the events independent > from each other -- to avoid problems like when an application completely > hangs for 90 seconds when it calls gethostbyname(). An async thread to do hostname lookups would be great! Wouldn't be too hard in libc_r, would it? But in regular apps, setitimer and sigsetjmp() would be a solution. > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message