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 20:11:44 +0800 Message-ID: <87cz16o8vz.fsf@yahoo.com> References: <871qhnr4ty.fsf@localhost> <83v8ezk3cj.fsf@gnu.org> <87v8ezpov0.fsf@localhost> <83r0pnk2az.fsf@gnu.org> <87pm57pns8.fsf@localhost> <87lefvp55t.fsf@yahoo.com> <87sfa28ura.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="33484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 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 14:12:59 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 1qH1NS-0008WV-LT for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jul 2023 14:12:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH1MX-0001DC-Rq; Wed, 05 Jul 2023 08:12:01 -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 1qH1MW-0001CD-2K for emacs-devel@gnu.org; Wed, 05 Jul 2023 08:12:00 -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 1qH1MS-0004x7-8t for emacs-devel@gnu.org; Wed, 05 Jul 2023 08:11:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688559114; bh=e+j5NI3f+HwuqR9JpWVQxPzA8ZQgdr8wAPPQsnxqhnI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=KXpx2LNkcTw1+FsDWY5Us5JiX84PeYzc3XgZ5OmQW36X78QoEZlAU5yLEsl7QfwA14Kzrefe11Cosays/9+5EeNSLmIb00z7WjOg2CC14C15WP5l8row0d7X7tNZOdITgCkHP1kjrqMf7yjN4nWkhfy03nXRPvOq23SaArg8BsowGZPNFhuhleTeznefYadPa9eUPWU71ShAit1WucTkgCy7QcQmhOwGyU/KHwaygp+R1f0iEZTY5w80H0FcFq/kSCqcEuQsdx92s4Am4qeNjv0anbwUKucymuewtdBHlRMr19BJFAQDjjGU7PFhKw3XinQPZZzbM126mZu7lg6UGQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688559114; bh=C252iARtlaOqp5C1FBLIXWwskNyF6J/OJ2Ana2ltyfB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=kDrowWFB39OLZPpJv5vLJJke2I+ZALSCff+cbnREzuVnbZ/Pr0Zerpn60HMZdFqb7DLleI+Gs0iQzIbacqjNM6yoqzflgp4cThoVvaHBBP/TgSB6dgRc1Ntygf/lb1ohTOQtiRYv8reqBvTNq+iriCThst6vtvmDPgK0sxaF2N6zeU1G9sW/FfokoQ3gBvSXXWhXF7zXOIZLJEDgvrb93UD+FqxWb9i8/QiGNWEHeCZd/6elylJhyKEO9oWiynJU+PpDxN4TNvQL7cOgSfLwMjuOUSpwlzIotmUxFtkjImCEG2gOeXo7sDqvdxm5D3rgIhbgvTF0aKKctzFBdbc9hA== X-YMail-OSG: djOpYcEVM1koD3O5MXslgYELBZUNdUPo8Fd9vY5EJtEZmaWUUfysIJqPmgACPIB 3LXT8VAgixF0lNHdIjdhYfeGOaeRZ9rG5SvJkagcLqSEJRtNWaxkFq4QDy4FGuOEoeJZxzh2_D7E 2edJMrxLg9CR9uX92QRPm9OkhSwzo7xUxKpT5SG8sqqEE6OY..qv.e02.9CtPUaKHPGeIZ6lGNri BqBmEA3xZy3MZDIGZcSls3Agr.bnvtha7_VtyrYIli4aheRscAb1Cq_4H6Z2EXkzZ_VULoeQlgGY zV443WEk0n7046vzjcTdvPVjK3aIwMxJnRkfAfGgW8sDdPm915DUgsA7oeOBS0WUVFnrHant6cUp nZtI7qi2xIG2WpvEbDg1HqTaBhGWag8ee7kUQ3KPtizP8s.P81jfSs9gsw2ubsMGhk.UQg8GnHIb RicihneYnkXjZZqGAHRzME2jv6NZtQL2UWNMtTFQtk5W2TIkDJxv8apdylOZCuGvFKInoVTFbzty w5duhsNkRGFxW44I7foT.9j1gUc6n5uwJzu4PBK2rRqqll9E8KLwhOsSWOOOLxkiii2ZIOGWYoiM XCJUYlBUX.WH4Xk5EvuRqi6vzIMfeHjhiSbecg7F59ZHi7MeqOk7Vj3UBMdk42OLtlHSD1afKayE 3LwBEkbzhOORPlOQ28QS5opTpjgrQ7BYIzPGYo7BcZKb9t0BNq3R84npfpKfRla2qdpTPqO3i0im bB53Z3rsJI8xk_Z3lDkcmwGb7kgMb6FXnbyRXKYbsrp7ChZHizst702XS_nMH.IwwwhkzsyTMYJi RavSByC3yHxYlv29H_abHIdEPZS71pz4XPADq1Edy1 X-Sonic-MF: X-Sonic-ID: ed313f02-b9d7-4bac-b407-6bec0c83cd1e Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Wed, 5 Jul 2023 12:11:54 +0000 Original-Received: by hermes--production-sg3-67fd64777-lqw65 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 61e3fd3f445a60c79e5c2694bd1fb6fe; Wed, 05 Jul 2023 12:11:49 +0000 (UTC) In-Reply-To: <87sfa28ura.fsf@localhost> (Ihor Radchenko's message of "Wed, 05 Jul 2023 11:26:01 +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.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=unavailable 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:307458 Archived-At: Ihor Radchenko writes: > I imagine that only a single, main Emacs process will truly own the > obarray. > > The child async Emacs process will (1) partially have its own obarray > for lexical bindings; (2) query the parent process when there is a need > to read/write the shared obarray. The query will be processed by the > parent process synchronously, so the situation you described will be > impossible. The obarray contains symbols, not their values. So I don't understand what you refer to by a separate obarray for lexical bindings.