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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22748 invoked from network); 4 Aug 2021 21:56:53 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2021 21:56:53 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id D9CD49CAA6; Thu, 5 Aug 2021 07:56:47 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 516759CAA5; Thu, 5 Aug 2021 07:56:13 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=serissa.com header.i=@serissa.com header.b="4B3GIvBA"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="hGT7FWpv"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 7495E9CAA5; Thu, 5 Aug 2021 07:56:09 +1000 (AEST) X-Greylist: delayed 438 seconds by postgrey-1.36 at minnie.tuhs.org; Thu, 05 Aug 2021 07:56:07 AEST Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by minnie.tuhs.org (Postfix) with ESMTPS id E9F989CAA4 for ; Thu, 5 Aug 2021 07:56:07 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id F0FA23200987; Wed, 4 Aug 2021 17:48:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 04 Aug 2021 17:48:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serissa.com; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; s=fm3; bh=bJBppjzs4EbywcZ/76lBbTMTYwXGew 1nbieQtuPoj/Q=; b=4B3GIvBAOJVmvHaayd0bPE3qt5u+fipkiUbaimO0qXWZh6 L6H2rgV0Bn3T+/GM/zRDzVcMT9oj6zzab59zfY6J9Tps0dEPK9F9ooVgoeWamwlW aq20aTnSHk25CMwyqoszC3O4tn1Usgn+Hp0ArMvBUw2fqFMo5RGaoflg3xO4lPRj wa9YbdPNSdnsREjna8FZdT2iAX+2g0IxNh9C0ZJxaJK9MksJMCR3qvP7xxOFDgrQ IgI4HX5PtgJa3xVmZ0k1RVgkNwexdPLln89aZuFSziTdpikVBk+oP2Z3sXPCfe91 f9+hOsNuMLqESsegJ0+g8BTayCkMT0JsSLLwVxTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=bJBppj zs4EbywcZ/76lBbTMTYwXGew1nbieQtuPoj/Q=; b=hGT7FWpvRRNqiZrPzt4roI ThgGnYSDoEqOM3jY/RAFv0x3aTMnLPO8pWnVMEDbkrqbIjM+eGtw3zSEo/KDYoIm cXn5gXjBgk8nK8EHYISHpIhRaTTFQznJ6TFYbWI9b5AXh018xa37AMx0sCMZymsH odczggSpPvBmxmPlPP/k3YlMJWUqMMHL5v4eJWDsfcyPq6PCTnbbtte9+bNUsePK Z4DnGYXMy+9W1OXn6W4Bywj0o8YGiiLnZuPBErtWVNFsnGoIw29WR3zriiKAHl5/ X5Lnrx27+kw5dB1mecXBnxVn/xasZcbxB2RfojWzQd/ewbWZQNAmLa/tb9c857fw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieekucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephfgtgfgguffkfffvofesthhqmhdthhdtvdenucfhrhhomhepnfgrfihrvghntggvucfu thgvfigrrhhtuceoshhtvgifrghrthesshgvrhhishhsrgdrtghomheqnecuggftrfgrth htvghrnhepjefhheefjefffffhjeekudfhfefftdeiteefjedvtdekfeduffekveegvedu iedtnecuffhomhgrihhnpehfohhrthhhrdhtkhdprhhunhhnihhnghdrfihtfhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsthgvfigrrhht sehsvghrihhsshgrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Aug 2021 17:48:47 -0400 (EDT) From: Lawrence Stewart Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Message-Id: Date: Wed, 4 Aug 2021 17:48:46 -0400 To: TUHS main list X-Mailer: Apple Mail (2.3654.120.0.1.13) Subject: [TUHS] Threads vs... not 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" What do folks think about event-driven programming as a substitute for = threads in UI and process control settings? I wrote the service processor code for the Sicortex Machines using = libevent.a and I thought it was very lightweight and fairly easy to = think about. (This was a thing running on ucLinux on a tiny 16 MB = coldfire that managed the consoles and power supplies and temp sensors = and JTAG access and booting and so forth.) Tk (IIRC) has a straightforward event driven model for UI interactions. Meanwhile, the dropbox plugin for my Mac has 120 threads running. WTF? This was triggered by the fork/spawn discussion. -Larry (started with Unix at V6 on an 11/34)=