From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 896 invoked from network); 25 Apr 2020 17:14:20 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 17:14:20 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jSONf-00082u-8t; Sat, 25 Apr 2020 12:14:19 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOimD-0001Rk-TR for ding@lists.math.uh.edu; Wed, 15 Apr 2020 09:12:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOimC-0000LO-L1 for ding@lists.math.uh.edu; Wed, 15 Apr 2020 09:12:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-type:MIME-version:References :Subject:In-Reply-To:Cc:To:From:Message-Id:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ETUhSaOrE4gKFduTHFRB4uiIpQTIYpBz8qTx1HY3syA=; b=WtGqjylXLYuZbpYK092gbaTQ0E uAyvX/zkNjmierkMVWE8wPkJIsJiLbnCmc1mPesK4J1UOhwik1YaTjC1bKdYaVTGzm0frANMwALFP kr903rdkz4HKURX25NDbOXx2KnK1JTDagqd72kQswBjoJUiIjMU6H+HSwj8bNxuddKyA=; Received: from eggs.gnu.org ([2001:470:142:3::10]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jOim5-0007OC-M3 for ding@gnus.org; Wed, 15 Apr 2020 16:12:24 +0200 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOim2-0005LY-JR; Wed, 15 Apr 2020 10:12:18 -0400 Received: from [176.228.60.248] (port=3864 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jOim1-0008Cm-2F; Wed, 15 Apr 2020 10:12:17 -0400 Date: Wed, 15 Apr 2020 17:12:00 +0300 Message-Id: <837dyghm8f.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org In-Reply-To: (message from Robert Pluim on Wed, 15 Apr 2020 15:54:09 +0200) Subject: Re: Rendering regression in Gnus with gnus-treat-from-gravatar References: <877dym5fes.fsf@tullinup.koldfront.dk> <87d08ejbmj.fsf@tullinup.koldfront.dk> <87r1wq55xk.fsf@tullinup.koldfront.dk> <83h7xlgk6k.fsf@gnu.org> <83d089ges8.fsf@gnu.org> <83blntgdoy.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] List-ID: Precedence: bulk > From: Robert Pluim > Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org > Date: Wed, 15 Apr 2020 15:54:09 +0200 > > >> Or itʼs the interaction with redisplay thatʼs slow > > Eli> What interaction is that? > > The url request fetches some image data, and inserts that in the Gnus > article buffer. It won't get shown until redisplay runs, which means > the main thread has to run. Assuming that the non-main thread exits once it's done fetching, that's not different from a single-threaded fetching, is it? IOW, redisplay won't kick in until the code which fetches the images finishes. > Itʼs not yet clear to me from which thread that insertion eventually > gets done The one that fetches the stuff, I suppose. If not, how will the fetched stuff get passed to the main thread for insertion?