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: Emacs design and architecture. How about copy-on-write? Date: Thu, 21 Sep 2023 21:35:29 +0800 Message-ID: <87pm2bps2m.fsf@yahoo.com> References: <835y46e8o9.fsf@gnu.org> <87zg1ixvnc.fsf@dataswamp.org> <87il86nxts.fsf@localhost> <87o7hyx8h2.fsf@dataswamp.org> <87o7hx88ry.fsf@localhost> <87a5thta90.fsf@yahoo.com> <87led1865h.fsf@localhost> <875y45t7yo.fsf@yahoo.com> <874jjprmq2.fsf@yahoo.com> <83a5tgc03s.fsf@gnu.org> <87zg1gqr8q.fsf@yahoo.com> <83msxg9eb9.fsf@gnu.org> <87msxgq8rn.fsf@yahoo.com> <83jzsk9c5l.fsf@gnu.org> <87msxf2abp.fsf@localhost> <83h6nnalu5.fsf@gnu.org> <87y1gzzvec.fsf@localhost> <838r8zadls.fsf@gnu.org> <87v8c3pt57.fsf@yahoo.com> <83y1gz8xjm.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="10499"; 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 Thu Sep 21 15:37:10 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 1qjJrf-0002W6-Al for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 15:37:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjJqc-000478-82; Thu, 21 Sep 2023 09:36:02 -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 1qjJqZ-00045o-VV for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:35:59 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjJqR-00007E-SG for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:35:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695303340; bh=+hycOA9kKsOkkipk3AIUVlhz6UhSFYST/tLIUZImIBs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=m3A0cxprDt+FEqRtBHFmM7fdEvQKRM+suUaCGcr+DPGn2MzWSntIeCGFgs575c4CA1V68sm02E84AXJ401wR8k7+5IwkOKYLCBFBxOEvU1iNhCLD/WNH1AnMZQbQXOfGFugzz4b+8Url8TqkNWn+tmLflGuN7FpIv0Nsk05kHoiIst4L1F4oHoNMyPJJTiUnt/Y7NvEE6DKQmVk3wDW79fRK3q5Qsmudsl0XIEl+ZoKZzWDzc81wAgWiLP38fkYdOGvvW5LA3BmOyE7PHUdoi3NW9+NIjzXQJh4rSIoPwwYkXpd54bIbj+1YFbKKOx6JI4+KNJAvApFOyKpgFaOYRA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695303340; bh=8u7po8jqLDd+q88hShmrTe2I8gKvw3OK70N+9g/H/P6=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Dl/xteuSgkc6R7iefnJZZSBqXZJj5eAGe0FAvAt4G5wjb2Yf5Zwy3dHzsXC+u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Br1vYOoRBacBGla6qn1DyVmT.fhjGZ5NOg7B3j7OQDGC I5mWRuNlKEy6bVm68BIqjq4ZZWSaJYzmiTNXf4V.eg X-Sonic-MF: X-Sonic-ID: efdd6ae5-0886-4353-bc91-a085f300c03d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Sep 2023 13:35:40 +0000 Original-Received: by hermes--production-sg3-55c667b499-6hbf4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6c72f7d1660bf2f9d8ca51f42fbad87a; Thu, 21 Sep 2023 13:35:36 +0000 (UTC) In-Reply-To: <83y1gz8xjm.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 16:29:17 +0300") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.204; envelope-from=luangruo@yahoo.com; helo=sonic310-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_NEUTRAL=0.779 autolearn=no 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:310907 Archived-At: Eli Zaretskii writes: > Then my question wasn't really answered yet. Ah, I now understand what you were asking. The variable's global value is modified and thereafter made available to all other threads. If multiple threads perform coinciding alterations to the same symbol's value, the machine bus reconciles the conflict by selecting a single value.