From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id b5c071da for ; Thu, 11 Apr 2019 11:55:29 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id D865094ECA; Thu, 11 Apr 2019 21:55:27 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id DA79594926; Thu, 11 Apr 2019 21:54:37 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 7D41894926; Thu, 11 Apr 2019 21:54:34 +1000 (AEST) X-Greylist: delayed 957 seconds by postgrey-1.36 at minnie.tuhs.org; Thu, 11 Apr 2019 21:54:32 AEST Received: from ppsw-43.csi.cam.ac.uk (ppsw-43.csi.cam.ac.uk [131.111.8.143]) by minnie.tuhs.org (Postfix) with ESMTPS id BAFD694925 for ; Thu, 11 Apr 2019 21:54:32 +1000 (AEST) X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from grey.csi.cam.ac.uk ([131.111.57.57]:47700) by ppsw-43.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1hEY2I-0005MY-mm (Exim 4.91) (return-path ); Thu, 11 Apr 2019 12:38:30 +0100 Date: Thu, 11 Apr 2019 12:38:29 +0100 From: Tony Finch To: George Michaelson In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [TUHS] "Fork considered harmful" 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" George Michaelson wrote: > On Apr 10, 2019, at 4:06 PM, Richard Salz wrote: > > > > Any view on this? https://www.microsoft.com/en-us/research/publication/a-fork-in-the-road/ > > fork() and the various exec() flavours had this single compelling > story for me: the stdin/stdout/stderr *and all other open I/O* was > inherited across the process boundary. This alone made writing code > significantly easier. Mark Wooding had an insightful observation in response to that paper: it's relatively common in Unix to have oblivious intermediaries where it is important that they pass on things like file descriptors and signal dispositions. How would you implement nohup() in a spawn-based system? [ Yorkbox-related tangent: the other day I was trying to find out more about the JANET NRS (the hosts.txt-alike with names in uk.ac.cam format) and all I could find out is that it was hosted at Salford on Pr1me computers https://www.uknof.org.uk/uknof7/Reid-History.pdf ... the reason for looking because I'm no longer providing secondary DNS for Salford. ] Tony. -- f.anthony.n.finch http://dotat.at/ Fair Isle: East 2 or 3, veering south 5 or 6. Slight, becoming moderate. Occasional rain or drizzle. Moderate or good.