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: Tue, 25 Jul 2023 17:37:12 +0800 Message-ID: <87pm4gxrg7.fsf@yahoo.com> References: <871qhnr4ty.fsf@localhost> <87pm518m0g.fsf@localhost> <83o7kl9tyj.fsf@gnu.org> <874jmd89us.fsf@localhost> <878rb53dkj.fsf@localhost> <83edkxsclz.fsf@gnu.org> <87tttt1mzh.fsf@localhost> <83351ds9de.fsf@gnu.org> <87ila91j6n.fsf@localhost> <83y1j5qoyo.fsf@gnu.org> <87wmypi7s0.fsf@localhost> <87fs5czvs2.fsf@yahoo.com> <87mszk7glc.fsf@localhost> <877cqozc14.fsf@yahoo.com> <87bkg0s9p4.fsf@localhost> <87351cz993.fsf@yahoo.com> <87wmyoqt0j.fsf@localhost> <87y1j4xtgr.fsf@yahoo.com> <87tttsqs5d.fsf@localhost> <87tttsxsd1.fsf@yahoo.com> <87r0owqr2w.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="26536"; 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 Tue Jul 25 11:38:13 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 1qOEUf-0006gQ-Mo for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jul 2023 11:38:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOETu-000650-Tn; Tue, 25 Jul 2023 05:37:26 -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 1qOETs-00064S-Gl for emacs-devel@gnu.org; Tue, 25 Jul 2023 05:37:24 -0400 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOETr-0006h8-6K for emacs-devel@gnu.org; Tue, 25 Jul 2023 05:37:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690277840; bh=uJqsSgJ6M21GUxMi8E7rlsR2aBvr6PT/o+CFtoUxyLo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=lRrFivlkCTWnRzDuPf6nYWvGfR1uOOy9AS7dIoyfAdEEye1o5i0Gmzy66Ry2U51L9k3MLwEcuD6DqlKQ9uJ6JUJKbdchMaCWCslJUq9PhQIbU4v71QBgFd/EGOao3vrYlOB1KQaNI+ZXspPDr5+a4n7tFgO7IU32P6lIrPRXTOPx1QAyzR8IS5EtZu1ySOJIGiGB7DgZxt2tEMku5QCeqJXXNohr8XGpLYwDr86Wz/XSnABD6x2EOthyY1kRmVWQFWOWD8u9E+MqVN/fpD+8RxEj3QNOlwJaQs0vc0MZCRELZf22tT9sv/yS5mcfjK8JHT3E2h/UTDXV25c8TSG4ww== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690277840; bh=GXUtCKaUK6szsZp0ojpO9YTur4i4N460FXnJal8SEh4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Ex+dbDxh5dMVWv/wJ7fQI5NyIV5dUVnHU+YmX5rbvOLMElb2I8YJzMgvOg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rP7sS2k9HfN6YPRU0UYZ209nr4.1YPtH_0vkrMyS40T HEXRWNfh6EHjqQdy7cuEX1qInl.CVtACOGPGc.Jcwg X-Sonic-MF: X-Sonic-ID: 5daf7c49-af01-4534-b5d1-07e5c3debcd7 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 25 Jul 2023 09:37:20 +0000 Original-Received: by hermes--production-sg3-6b8fc8d58f-wskqk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a933cc66b59d6b09350e8beb4aa18d7f; Tue, 25 Jul 2023 09:37:18 +0000 (UTC) In-Reply-To: <87r0owqr2w.fsf@localhost> (Ihor Radchenko's message of "Tue, 25 Jul 2023 09:27:03 +0000") X-Mailer: WebService/1.1.21647 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.82; envelope-from=luangruo@yahoo.com; helo=sonic306-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=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:308085 Archived-At: Ihor Radchenko writes: > I've seen a couple of volatile variables in the code. > So, there is at least some fighting with GCC optimizations going on. sig_atomic_t used within signal handlers must be volatile. Others are due to interactions between longjmp and automatic register allocation, not due to store merging or CSE.