From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Concurrency via isolated process/thread Date: Sun, 09 Jul 2023 17:25:21 +0800 Message-ID: <87jzv9e8se.fsf@yahoo.com> References: <871qhnr4ty.fsf@localhost> <87h6qhnalc.fsf@yahoo.com> <87ilax71wo.fsf@localhost> <831qhli14t.fsf@gnu.org> <87wmzdxewc.fsf@localhost> <83r0plgjeo.fsf@gnu.org> <87o7kpxapo.fsf@localhost> <83mt09gcaf.fsf@gnu.org> <87wmzbc3af.fsf@localhost> <87edljhmjq.fsf@yahoo.com> <87fs5zbuwn.fsf@localhost> <871qhjgrku.fsf@yahoo.com> <831qhieumz.fsf@gnu.org> <87lefqg7yl.fsf@yahoo.com> <83h6qed8kw.fsf@gnu.org> <87h6qefwj0.fsf@yahoo.com> <83bkgmcx0q.fsf@gnu.org> <87a5w5gbs4.fsf@yahoo.com> <83bkglbmai.fsf@gnu.org> <87o7kleeub.fsf@yahoo.com> <835y6tbkr2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23943"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 09 11:26:07 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qIQgB-00062a-26 for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Jul 2023 11:26:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIQfh-0007PZ-IY; Sun, 09 Jul 2023 05:25:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIQff-0007PI-8A for emacs-devel@gnu.org; Sun, 09 Jul 2023 05:25:35 -0400 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIQfd-0005LH-Ja for emacs-devel@gnu.org; Sun, 09 Jul 2023 05:25:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688894731; bh=wrSY7ySG/hhDauGMDytd2AtSU5fOKmnR7Ci0NtuD6ZI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=MGbEF9P7bH8CbMgBZG0YisZRtHuD7EuVivzS0nFJVHZNU3eYO6SHn7ejhwgCtAHpJN7Cay4fPkOI3hBLke37Dn+8ttdekW4WdpHMrR3NX0r40BpRp/S6st/asqr6ZkbGYDUiikUVQ8zC4gHtL82IICqyd7ELburZSePE/uC/KOZU6QtG/xDDQMUBplMLXXLck6Pb82n29f+07RaZIFY2r1e1SRQR8N0XMHhGfH7eJ67USUNARsxyFCPek5SQUaDt2XV5qSIrmXaLt/Srzj48KxWTJ6+WhcgkjsgJ6T5RgEquAmliNAr3KKQteIZvC8vwSi7FXsj1GttOHhIFEIiSmQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688894731; bh=J+78wcYko85sDY/bsZtVPJ2CzuX79AEEpl4xWa1lO8W=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EZpdreajer5rhQiOl0oIBvbtErs0kTQwKxVaLYjbHehAG3KnYP8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WxvvBVbQh5vLZajHIV5X4duCf5HaTNuiWkX4BSe6 Lr_8LN_xrfvTG_HU1cPIw_ehQkGStcwAFVv1WmSDrd X-Sonic-MF: X-Sonic-ID: 519363c8-ec97-4a04-8185-b34856007571 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 9 Jul 2023 09:25:31 +0000 Original-Received: by hermes--production-sg3-67fd64777-vq8mf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d91ea5565d32b08e8bca7c2cc3c84432; Sun, 09 Jul 2023 09:25:26 +0000 (UTC) In-Reply-To: <835y6tbkr2.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Jul 2023 10:35:13 +0300") X-Mailer: WebService/1.1.21638 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.45; envelope-from=luangruo@yahoo.com; helo=sonic317-34.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307651 Archived-At: Eli Zaretskii writes: > Because we'd need to throw away 40 years of Lisp programming, and > rewrite almost every bit of what was written since then. It's a huge > setback for writing Emacs applications. Programmers who are not comfortable with that can continue to utilize asynch subprocesses or to run their code in the main thread. > Emacs doesn't have a UI thread, as you know. Emacs's equivalent is the main thread, which is the only thread that can safely call redisplay.