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: Sat, 08 Jul 2023 13:51:42 +0800 Message-ID: <87pm53eys1.fsf@yahoo.com> References: <831qhli14t.fsf@gnu.org> <87wmzdxewc.fsf@localhost> <83r0plgjeo.fsf@gnu.org> <87o7kpxapo.fsf@localhost> <83mt09gcaf.fsf@gnu.org> <87wmzbc3af.fsf@localhost> <83cz13g811.fsf@gnu.org> <87lefrbvjw.fsf@localhost> <83h6qfecxt.fsf@gnu.org> <87ttuffcnv.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30114"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 08 07:52:49 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 1qI0sD-0007aS-1s for ged-emacs-devel@m.gmane-mx.org; Sat, 08 Jul 2023 07:52:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qI0rQ-0005h3-7Y; Sat, 08 Jul 2023 01:52:00 -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 1qI0rL-0005gq-AS for emacs-devel@gnu.org; Sat, 08 Jul 2023 01:51:56 -0400 Original-Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qI0rI-0000vV-Ns for emacs-devel@gnu.org; Sat, 08 Jul 2023 01:51:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688795509; bh=XZG5B0+UBw9WXOLK4uFzOH7+T8KjO0kqUlcda3YvY5Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=LFgYyBV3IA/IlB70jaq8mPTujja1CfxQJdPoUKV/GBN/Pwqt9lapGZHTzSBf4iL8PqnnatsUFG9USY/knhAtf4E6RHBn+axgyUxtXhWZdhpyevqtRwgSBXhypd4mUVZKHO54SPVe95qRnmQk1NtTbhW91E58h2SPTnb7Com15PYp6LkXWvsyCIDD1pDfggGH88r3O7WaJKjVkmjSoVP566eXK2MplCtzghVk7Y5ncpp/FpfiZr+CVQJeXZ7gttyIjpDyGPbhg1yUfxnwc7wVbF8xD4zsTf4rZ/L3bpiaeBAfPTQFd421O2QGi3Vq1+fgY5ASg3lMpsBt45q/Hxtt/A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688795509; bh=BXDbhKJR56YTJLT6TapJPYbLqVoJHebbsPM7F4Pul8O=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CAXa7nFY2jTMcJWaRlKM1ElRk4l8sjrRGBQnTKw/Tc8AJDT0XLe39Sq9JWA8OmWplK2tfkbcEemGJa+6y/kTAjK0S92ZJKbjipprfyWPOByeKma8aYKgoEgkGrpMkTrG5qjXqtxvnAxIClRzGpllBifTmNxPORACA3h80KZavbyPqbFYVtoApqtrDo2UadbZ/Yvdh22osLaKpA7k9tQgGeQgiSgc12fdMeD+2YMp3M/TzvqkNqAjyUqrCv3zrh9bOS1fKHKHwWNwjLZVTBj/yFbxIpo9OPExyH+zQWjguVRcQd63Aqe1u9RBDC48xZdDVwdzkke1C15ETgti0zqOCw== X-YMail-OSG: Zbnr_KoVM1lAHzJP1LHjKmaLtbFoe025XWnXcgjAQM_2LN0tfcaFizdDgNHK2Dm Zy5RKEA87Baf9gqVkxqgbtMGG2axer.bQcDNMzOj3xZXC3L9YdmZY3uV9M3lud1lkuHV6bnDETBb GhIpjq7kXsVzPYhmuE4NwjCiqZ7Rqk6scBSElfa7E8nUxGP7JmCAKbQARdwmnCXb35lGy.XEM0aO f8GAjPb2EmHf85pQqugAbZMRh27jKKXmIsEuYy837HL_KQqsf801hmut0TUtQ9JbOf4P6beAK1Gw hap3D9sj5Y7yaIkEW_pd9bwPF2IFceAM9wioAFuFLr9evhrNDqdKR0TYdtmCAgtGFvcFqWO_MKNG sw9dfsgy_R44GB.AXXQ1O.Y_9Kz3DOkVcxi9Su23cXDRzxQlcavigfjIAsGTE6VRqcvGMS.3pFUm PsKfyRGPYVSIwAPPQ8INNYELo.iHMxtwiLvbynx0R36ztI2DRXPftfH33a4sF9q2k5zXHDINdAbv Y6YhQsscqLD4GPBq8heS3EBJaoc3n049AQiyOPy5JQOJCAs1_TLnAqRtLYJlfgKnuIDRraTAsNvs 83Oqz6c1P7cOnGoAhL3hQvIdSDMrRAxopcJn2QjBjExihljkc0_ki7RdfCsJPIjheFWfPKPEmvUT sA_DgAZNGv8m0hcb_bC10HatgCwTYU0Gf.KFljNDmTPp92Y3NdZQZdgX37PqFXMr8JpO0imstc9r yWbtpTFqJzDBLVt3DDtYf0ssXCAU6m8k9mTR4rn.3minKfGTJ2zmBCuhKNHkdP_gEryXfIL7W9_7 qtdCiHFEHXDJxA_Tbd_gumX19Npt.bMSn0ypsTZ4mO X-Sonic-MF: X-Sonic-ID: a5363aad-e15d-4d75-a0d3-675d44b8f64a Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 8 Jul 2023 05:51:49 +0000 Original-Received: by hermes--production-sg3-67fd64777-rc8tr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0592533be6695bc8ec08e44043e3bbc7; Sat, 08 Jul 2023 05:51:46 +0000 (UTC) In-Reply-To: (tomas@tuxteam.de's message of "Sat, 8 Jul 2023 06:18:31 +0200") 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.191.146; envelope-from=luangruo@yahoo.com; helo=sonic304-20.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:307593 Archived-At: writes: > The tendency, though, seems to be to avoid interlocking as much as possible > and use "transactional" data structures [1]. Which is an order of magnitude > more "interesting" :-) They are unfortunately not relevant to Emacs, since their use pertains to programs that were designed to run in multiple processor environments almost from the very start. On the other hand, Unix is a large and ancient program with vast amounts of global state, that was still modified to run in SMP environments, making its development experiences directly relevant to Emacs.