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: Mon, 10 Jul 2023 20:48:00 +0800 Message-ID: <87jzv8c4qn.fsf@yahoo.com> References: <871qhnr4ty.fsf@localhost> <83edljg8ub.fsf@gnu.org> <87o7knbxr7.fsf@localhost> <838rbrg4mg.fsf@gnu.org> <87ilavbvdr.fsf@localhost> <834jmffvhy.fsf@gnu.org> <878rbrbmwr.fsf@localhost> <83fs5zecpo.fsf@gnu.org> <87351zbi72.fsf@localhost> <83351yevde.fsf@gnu.org> <87cz12ad2w.fsf@localhost> <83a5w6cwdr.fsf@gnu.org> <87pm518m0g.fsf@localhost> <83o7kl9tyj.fsf@gnu.org> <874jmd89us.fsf@localhost> <83cz119lxu.fsf@gnu.org> <87v8et6q5m.fsf@localhost> <838rbp9h6c.fsf@gnu.org> <87edlg6m2l.fsf@localhost> <87o7kkc6bl.fsf@yahoo.com> <878rbo6jdq.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="39268"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 10 14:48:42 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 1qIqJl-000A0q-Tm for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Jul 2023 14:48:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIqJR-0002sT-90; Mon, 10 Jul 2023 08:48:21 -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 1qIqJM-0002kT-7V for emacs-devel@gnu.org; Mon, 10 Jul 2023 08:48:17 -0400 Original-Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIqJI-0003Fa-Ry for emacs-devel@gnu.org; Mon, 10 Jul 2023 08:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688993290; bh=6iYBYR4YCpLXDu79efbx6giJqvDB/X7WmDr/SX2fvKo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=O11t64cqJShKYJLZwlBntpQ07yBI08FjBtIWzRMYb+foZAqXJzW8dxNM0GYrvCgwrHnwOz9wh0FlxtEhywnmzQAejkc2AJfsEwMDUK+5vH6NFtCfDyv1wCYN1bLtwoYJb49WHnP05B/zLjoZd9R1Duq5j9QLO/fhOFYb0jrhEDS2ePkw9mEmrUsna/WgNwJK5DqMArbhxzshbgTJWV46ZZ6tWvrLuiRML6PC4A79ClV4o4JRH94jsFfvXwzaMNCc4STknrYrahHXPZe6BAxHkEwzwdpTQJ//1Zy+R7lsIm+8rt0tFmMMs8FxiUupH6Dig2QGpNMvM09cQO7s/1yjvw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688993290; bh=eO/usvF+bRbHoD8EsTpiICC7u3gWL/25uo6F13KzErE=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=lHMxkYMgXz7xyCwrecfNA56yWxuK5BEIRjN2ovmeNnJYkPSrKmDZR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C89VNx79FHNNk0CTHl2tZs8CVC3WmjyZbT9F9o95mnsXD72Q0UmsJJAmhZsY4 Aty92ZjsO1KL3y8aeLzq0nyvtCxp9fDkHQgyv.gBaR X-Sonic-MF: X-Sonic-ID: d49695c4-7a69-4dab-98a4-7b825a16ba7c Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Mon, 10 Jul 2023 12:48:10 +0000 Original-Received: by hermes--production-sg3-67fd64777-t6vwt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d3fffdf421eac6b0217aa80c51ad16a4; Mon, 10 Jul 2023 12:48:06 +0000 (UTC) In-Reply-To: <878rbo6jdq.fsf@localhost> (Ihor Radchenko's message of "Mon, 10 Jul 2023 12:28:17 +0000") 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.189.146; envelope-from=luangruo@yahoo.com; helo=sonic314-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:307718 Archived-At: Ihor Radchenko writes: > Sounds not 100% reliable. It is 100% reliable, at least when implemented with system specific code. POSIX is iffy in this regard. > May it be possible to restart blocking operation if GC is triggered in > the middle of it? You cannot make an LWP that is performing name resolution call `maybe_gc', but it can be suspended outright.