From owner-freebsd-hackers Tue May 27 13:09:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA01472 for hackers-outgoing; Tue, 27 May 1997 13:09:00 -0700 (PDT) Received: from pluto.plutotech.com (root@pluto100.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA01467 for ; Tue, 27 May 1997 13:08:57 -0700 (PDT) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.5/8.8.5) with ESMTP id OAA06051; Tue, 27 May 1997 14:08:52 -0600 (MDT) Message-Id: <199705272008.OAA06051@pluto.plutotech.com> X-Mailer: exmh version 2.0beta 12/23/96 To: neswold@FNAL.GOV cc: "Justin T. Gibbs" , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: async socket stuff In-reply-to: Your message of "Tue, 27 May 1997 15:04:05 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 May 1997 15:06:29 -0600 From: "Justin T. Gibbs" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >You mean like sockets, files and pipes being represented by "file" >descriptors? Yep. Unix has been using that model for years. Show me how to select on: * A child process terminating * An event object that I create in my program being signaled by one of my threads. * I/O completing on a socket or fd. * A critical section freeing up. * A mutex becoming availible. * New files being added to a directory. * The size of a file changing. etc, etc, etc. all in a single select call. I fully understand what select can and cannot do, and it doesn't even come close to giving all of the flexibility NT gives you. > Rich > > ------------------------------------------------------------------------ > Richard Neswold, Accelerator Div./Controls Dept | neswold@fnal.gov > Fermilab, PO Box 500, MS 347, Batavia, IL 60510 | voice (630) 840-3454 > 'finger neswold@aduxb.fnal.gov' for PGP key | fax (630) 840-3093 -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================