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 dd387002 for ; Tue, 4 Dec 2018 21:35:09 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 875A7A2209; Wed, 5 Dec 2018 07:35:08 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 75EC4A1F04; Wed, 5 Dec 2018 07:34:55 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id A3149A1F04; Wed, 5 Dec 2018 07:34:53 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id 40D3AA1F01 for ; Wed, 5 Dec 2018 07:34:53 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id AFEF435E130; Tue, 4 Dec 2018 13:34:52 -0800 (PST) Date: Tue, 4 Dec 2018 13:34:52 -0800 From: Larry McVoy To: Dave Horsfall Message-ID: <20181204213452.GI3316@mcvoy.com> References: <1543705783.3909.for-standards-violators@oclsc.org> <20181203011414.DAE3D156E410@mail.bitblocks.com> <20181203013025.GB10043@mcvoy.com> 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] man-page style X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 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 Wed, Dec 05, 2018 at 08:26:29AM +1100, Dave Horsfall wrote: > On Sun, 2 Dec 2018, Larry McVoy wrote: > > >>>And anyone who has not edited sendmail.cf (shudder!) is not a > >>>programmer. > > > >As a systems guy I think if you have not written, or understood, swtch(), > >you are not a systems guy. > > Ahh, line 2238... I dunno what line it is, I'm guessing that's the # for the Lions book? I learned swtch() because I wrote a userland thread library for Udi Manber as a grad student (yield based as I recall). I'd never really thought about it hard, yeah, did all the CS toy OS stuff but I don't think they made us write that. I loved writing it, I did a super minimal one that had the bulk of the work in C, just did the save/restore in asm. It's just so satisying to go in as one process and come out as the other (and annoying when some idiot used floating point - who does that? Cough, Clem, cough. and you realize you didn't save/restore fp registers :)