From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.devel Subject: Re: async Gnus Date: Wed, 26 Jan 2022 15:58:30 +0100 Message-ID: <871r0umtm1.fsf@elite.giraud> References: <87a6flqddp.fsf@elite.giraud> <87fspbzpu5.fsf@ericabrahamsen.net> <87wnimn760.fsf@elite.giraud> <83ee4uhccg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: eric@ericabrahamsen.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 26 16:08:23 2022 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 1nCjuI-000A5F-Vh for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jan 2022 16:08:23 +0100 Original-Received: from localhost ([::1]:39406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCjuI-0006mT-2g for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jan 2022 10:08:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCjlC-0000yZ-SK for emacs-devel@gnu.org; Wed, 26 Jan 2022 09:58:59 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:23583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCjkv-0005hv-Uz; Wed, 26 Jan 2022 09:58:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Z91HVvpMovq6m2ha Q4bqePK779SP5pvuyhqTO2PHMfE=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=YiQywlCAaqjYEEEdB9xHydCfa76teQMADGngby qA+lbcQdVFXxiVslCcutFEkM39OchJ239J+w/yDZWKtQIwR8or7/GcHuvjbfwzK2OdW6Lc JvaldonWGpqIGiB6p3foIRR47/xigwe6YsGlkHwXXSRbIp9ZGCYm0NdmMnQilkUrX4IX23 WKZeUSCi+DjijsxTIBMWFB93xiQhnnKKifAPZyiRFC17wdvVKrKr1asQvp9j0/OPWGdz+D pLgKwkIoAbE+yGguieav0IhZVAykaIpwfmvW+dy1KhA1xNJc2EFQiWa/tj9c7sKbBBAJE0 sAJFY4z5bGiJ/W2pOaqXuhAQ== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 1fbc5693 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 26 Jan 2022 15:58:30 +0100 (CET) In-Reply-To: <83ee4uhccg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 26 Jan 2022 15:10:23 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" Xref: news.gmane.io gmane.emacs.devel:285431 Archived-At: Eli Zaretskii writes: >> From: Manuel Giraud >> Date: Wed, 26 Jan 2022 11:05:43 +0100 >> Cc: emacs-devel@gnu.org >>=20 >> I'm suprprise: I thought that `make-thread' create a proper system >> thread. > > It does. But we only let a single thread at a time to run the Lisp > interpreter. So if your thread runs a lot of Lisp, it will preempt > the main thread, and that means unresponsive Emacs. Ok so, as Python, Emacs has a GIL. As Gnus seems to be an heavy user of Lisp maybe my goal is inaccessible=E2=80=A6 I'll try to see what I end up w= ith anyway =F0=9F=98=85 --=20 Manuel Giraud