From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6479 invoked from network); 1 Jun 2020 14:58:41 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Jun 2020 14:58:41 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 9B9F49CA99; Tue, 2 Jun 2020 00:58:36 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id BF2FD9C856; Tue, 2 Jun 2020 00:58:05 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 097AB9C856; Tue, 2 Jun 2020 00:58:03 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id A4C5D93D46 for ; Tue, 2 Jun 2020 00:58:02 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 1373035E14D; Mon, 1 Jun 2020 07:58:02 -0700 (PDT) Date: Mon, 1 Jun 2020 07:58:02 -0700 From: Larry McVoy To: Dave Horsfall Message-ID: <20200601145801.GE22016@mcvoy.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [TUHS] non-blocking IO X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Mon, Jun 01, 2020 at 01:32:56PM +1000, Dave Horsfall wrote: > On Mon, 1 Jun 2020, Rob Pike wrote: > > > I???m not quite sure why the Research lineage did not include > > non-blocking behaviour, especially in view of the man page comments. > > Maybe it was seen as against the Unix philosophy, with select() > > offering sufficient mechanism to avoid blocking (with open() the hard > > corner case)? > > > >That's it. Select was good enough for our purposes. > > After being dragged through both Berserkley and SysVile, I never did get the > hang of poll()/select() etc,,, I'm sure you could, select is super handy, think a network server like apache.