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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3880 invoked from network); 14 Mar 2023 19:54:48 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2023 19:54:48 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 88687412E5; Wed, 15 Mar 2023 05:54:44 +1000 (AEST) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by minnie.tuhs.org (Postfix) with ESMTPS id 5D291412D5 for ; Wed, 15 Mar 2023 05:54:40 +1000 (AEST) Date: Tue, 14 Mar 2023 20:54:36 +0100 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: Dave Horsfall Message-ID: <20230314195436.0flvw%steffen@sdaoden.eu> In-Reply-To: References: <20230309230130.q4I-f%steffen@sdaoden.eu> <20230310165552.czZmL%steffen@sdaoden.eu> <20230312222738.bX8Mi%steffen@sdaoden.eu> Mail-Followup-To: Dave Horsfall , The Eunuchs Hysterical Society User-Agent: s-nail v14.9.24-438-g5e0fdbd9f9 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. Message-ID-Hash: LEUUECPUPUDOHVDJC27MGU4Z52BSFKVA X-Message-ID-Hash: LEUUECPUPUDOHVDJC27MGU4Z52BSFKVA X-MailFrom: steffen@sdaoden.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: I can't drive 55: "GOTO considered harmful" 55thanniversary List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Dave Horsfall wrote in : |[ Followups to COFF, as this is rapidly becoming a Unix tutorial ] .. |On Sun, 12 Mar 2023, Steffen Nurpmeso wrote: ... |> Even on a x86(-32) i have gnashed with my teeth. And that with ... |You can read X86 assembler? I can only do that after a few stiff Unfortunately i stopped my ambitions (nasm was non-portable but fun). I never stepped to ARM, i hate that, i read according Net and FreeBSD commits with lots of interest. Many years ago there was a thrilling commit series for string and memory ops on NetBSD that i sometimes still speak of ... Matt Thomas i think it was. ("Thrilling" it was for me; by then.) |drinks... I did buy the book (in order to debug a floating bug defect |in the optimiser -- hey, let's optimise this instruction right out! -- and But floating-point i run away. |I've never trusted optimisers since). | |[*] |Cue the saying about it being impossible to design a foolproof system. | |-- Dave, the iconoclast "Dawn Of The Iconoclast"; Lisa Gerrard is also an Aussie and nuclear she is, isn't she. (Shown with unforgotten Klaus Schulze at the Loreley -- since most of the UNIX beards are surely some kind of long haired beauties this could even go to TUHS.) Yeah, signals, no. Problems anywhere. But i have a command PKILL_TMUX "pkill -CONT tmux" in my ~/.cwmrc (when Linux sends ^Z to the wrong for whatever reason), and enough ptys to go to when ogg123 again gets an interruption wrong and hangs deadly, only killable via -KILL. I think setting a flag plus EINTR is a way, but ERESTART is not handable if you sit on something blocking but have to act upon the signal; message passing -- if you do have an event loop based program then this is nice; then again i woke up with horrors for the (first) Linux thread library (i have looked in) over twenty years ago, and they used a worker and serialization via such as a regular thing; also owed to Butenhof's POSIX thread design of course, which is too "free" in my eyes (i'd rather have a dedicated main thread plus workers); just like C++ exceptions (i saw software which "throws char*"). --End of --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)