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: Wed, 05 Jul 2023 08:33:33 +0800 Message-ID: <87pm57p57m.fsf@yahoo.com> References: <871qhnr4ty.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31635"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 05 02:34:35 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 1qGqTa-0007t0-VK for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jul 2023 02:34:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGqSo-00032U-9u; Tue, 04 Jul 2023 20:33:46 -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 1qGqSm-000326-Qd for emacs-devel@gnu.org; Tue, 04 Jul 2023 20:33:44 -0400 Original-Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGqSk-0008Rm-Sp for emacs-devel@gnu.org; Tue, 04 Jul 2023 20:33:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688517220; bh=feqaX83nNY24PMuJHzIx31bGW4O2ciX6vQc6R+XcMEQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ONIHSCGG9rp3TSyuMsVUdTs2SoL6Z9h7AdowhoMGqNCdS/sexHEGOtRGRmWj3luO3w/1ulJmDNFy1wSaeSTj7TrqJGYrVtlCVt/IpTif1D7VZ5YpmVF2kldXpqb2tr5ywZJuwoneoqD0Z3U0YJuHhz1VzkXZ2KFNqeGJcfsF3pksDYpESVykXCHmqyXrCO0+TdE++7UWeDdEaFCtWDcJk7tZS7sCUVdD1dKkYIrlA4yaj/Y5141TDIrG+pUNSWaSpRZFofJKPym4wsQwlEOy+HHRgex5YAFdlwGDLSZJa46ty6hOb/8Hrq6V4sGoJA+Z/YzqPJ5lH60ryGkNJiDskg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688517220; bh=JbAgLLixfCnElEJ3KbWpvc6H/KBvQXjjOW30AB976U8=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ifCAjNpsbYOBbCAbUBEXVwdN5sqDsnm5Mvcwxxnm5Z6s9bbpPH4FQQ9YgIONqWSlYehMdn+cvxhMissKqRLNdlj3Q8y6WDvSkgowx5ldFuD+KzsLEUHzmuhj4hiM623LNCKk+2pYwNTcajPQyo0DJ4uVCt+s8kbNS0B5uvbV9G80XDSj5phzmHggiy/DeTEyRcgoewt4I+2JDqXLTFB1phziHtZDa1HY2b5YDxLvzrQMAEvgwrr0Dm34NJAEetw+Ij++Li8wbXbr5jT0KShQpgSrLEjHjkQW00VD31HUhDP5qV0M4NKC9nr5klDxTYqSDkQTscuLKcj3RLiIO79NlQ== X-YMail-OSG: BEZ05akVM1nW3LJVG9wV5eFFXIm9HN8X1nnXlvPUcTLY_rnSfT7yICrwD48Ntpm wvZLqbigY.Q5St5HV2JTtuZllBd6HdeGQhdMbNNEfzNK7nG_1WPNgv0Ih7aRmc4BV_awDPVMe53F 9D0zrsx154y6YVh5df6QFQv0j4EOgCOzY.YP6YNbyjobcOPxXxS0JZSYkKttIqaRTvBDikuf.XAE G0EvsTz0UBRRB3Idd.uZAbbBwmSHCuaDkNHG6VcguAUUTb1AeIENKSzwsq60MZsVYt.BtHqjZg0g bUMAgz_8Hhdq3aOfrOrF1D8_9RzO.Diwfacxjsdyf4rMH49EpqB83cyI2vGHgSpsj6gM.Eu5SA8M WeI9IkH9MOZfqF144_4OBNbJ5Vm.N_xTcmehGgvLOZLFADkq65L_VymubCioAtOTazAW0JVWZYX8 WefwhMrs9z7P7G44Tzvfk.hXH1U4juKF2wjwqdXSD5POwsbdvfwXdn1kVelHg9VylbcLD.jTP373 cT0ZuH.K88VCxasFSFDU7mY.rAmBzIRivgeAlbdCkELn8IddaFP.yTACISh5amlsQ4z8Zra6KwH_ QQ5T3Cy4c76mcFRP_yhMl7tNUGDZ3TVxCHQA2LVQR3xtztn5RmXZK2heoZrL2LIZ664iovRXlMaZ nHbYeq5RmK030dcfN2KF7S2RemerdUR3ksYaDO4G4hjO_Dd.E7uk76GpSWfwfE7dKrqsS9OMS3Dx IZY5_L3w_wAYWsovRqt.fxuG6w_oh3ffyaqJBO8m9GlHmBzAXdSy1Mcfv3BEdQAx.UFk8jSY7Ns3 LxkGc_7zZu5HBAtYjreVq3cqfEE8.4MJTIgVE8KqQa X-Sonic-MF: X-Sonic-ID: d2d3e7d6-73f4-4304-8e17-a3de89425390 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Wed, 5 Jul 2023 00:33:40 +0000 Original-Received: by hermes--production-sg3-67fd64777-9kgfz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7c8762c0e82ac253a4378b46fdfa741b; Wed, 05 Jul 2023 00:33:37 +0000 (UTC) In-Reply-To: <871qhnr4ty.fsf@localhost> (Ihor Radchenko's message of "Tue, 04 Jul 2023 16:58:49 +0000") X-Mailer: WebService/1.1.21612 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.84; envelope-from=luangruo@yahoo.com; helo=sonic306-22.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:307445 Archived-At: Ihor Radchenko writes: > More concretely, is it possible to copy internal Elisp object > representations between Emacs processes and arrange mutability to query > the right Emacs process that "owns" the object? It is not. But anyway I have a sinking suspicion that any solution that involves special IPC implemented in C code will prove to be more trouble than allowing multiple Lisp threads to run simultaneously and interlocking Emacs itself. It would require a lot of manpower, but it isn't impossible: other large programs have been interlocked to run on SMPs, most notably Unix.