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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 32515 invoked from network); 15 Apr 2020 14:20:23 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with UTF8ESMTPZ; 15 Apr 2020 14:20:23 -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 1jOitq-0001Vd-6Z for ml@inbox.vuxu.org; Wed, 15 Apr 2020 09:20:22 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOitp-0001VX-6H for ding@lists.math.uh.edu; Wed, 15 Apr 2020 09:20:21 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOitn-0002N1-OS for ding@lists.math.uh.edu; Wed, 15 Apr 2020 09:20:21 -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:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From: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=HGYW68rEpt7kwHulPcr/hZ9cSHF01gFewi9M3/vfVZk=; b=c3jgDOzBqkMYKqhDR/9YopvJUi PWEG1hJlNpx6lrYLBjaxmchrOiRHclU4QeqyE9hq6Br/XI2kD2JEzbyq/mLrz1jcyXvCNlCRnryfs r9BYKe2J7KmrNoabAT94vdw/4Me65qZ6/TOePJzIEg69CKPn2wQNND95VuF3izdXk06I=; Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jOith-0007UC-4v for ding@gnus.org; Wed, 15 Apr 2020 16:20:15 +0200 Received: by mail-wm1-x329.google.com with SMTP id y24so19296052wma.4 for ; Wed, 15 Apr 2020 07:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=HGYW68rEpt7kwHulPcr/hZ9cSHF01gFewi9M3/vfVZk=; b=HT0MdN3A2qT4ubZP+gwusYOXCkqIHazbJClG8VfImJFOzxIskwdxTzwibG2UX/t0vV d0uIHniyEmj8NvtNQWHtkSgKWMy6R/e0tYPHkYKTRmLTF6RvZ9SjLOqFjdY6+EUw3++e QgVqgTfLFXe16LfKTr/1+EGjPmwxNZtb35VYwSIpZJd7n4p4Pc9+zGFiSltUrVXP9+HS grAd1/7trRIspbFiBEzTsPFbTOPwQKQY3v3Kb8wiGyOIpjHEOgZjvgNGWQuE5BuIwrQk FjGbgG95B3oCLWGI/eL7Ho5YfNmkSPNmsrmQn12zNLtYzaoibH0cRlPw7QL4I7M3c/oK UAPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=HGYW68rEpt7kwHulPcr/hZ9cSHF01gFewi9M3/vfVZk=; b=ViEeL+4USVEtdfapn6BkSm7LzmDgC5lmE0GShY4UrmDRAAep8qSD3gGaS2EtwWRdqi LimVpzgxgJubhX5PLMvE14TzwYDbE1nqJyZxYfDpoqxd5I1PExLUjeHJ0G15BySVA3ax WbfUvQNScftNJESKyN2P+0IlBSmDgE6xRg6yr2MTbcyExaWq41XFOYTgQY6S9WueQSjC CPXZXI/QRaIqAZmfIH0Fbq8muziHBrKwjIMSoJpj8xlb9L3IP8ahWuy6+SoZV85jWjzM AJAaF9RRStE01lF3vshjBkvtdun2nYIjuJAQwwgVCvhCUwoRahOcbUU7ACxQU4xExNgu hHLw== X-Gm-Message-State: AGi0PuaFIw/mZKWW0Ax9QRKnMks5Fde/mrW7nEhBrfFbNDCV6dvaWp9+ CJLlWiqpPa1T0IQBksByD2b5W/++ X-Google-Smtp-Source: APiQypLO65GIGeLBJyo7hmGpeHZP0S5hzLMJWmhX0ESZSR91FZMoU2Rvp6rI73dzMOEiett1eofX6A== X-Received: by 2002:a1c:bd08:: with SMTP id n8mr5392101wmf.23.1586960412227; Wed, 15 Apr 2020 07:20:12 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:d25:1399:af8a:f424]) by smtp.gmail.com with ESMTPSA id k14sm24085717wrp.53.2020.04.15.07.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 07:20:11 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org 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> <837dyghm8f.fsf@gnu.org> Gmane-Reply-To-List: yes Date: Wed, 15 Apr 2020 16:20:08 +0200 In-Reply-To: <837dyghm8f.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 15 Apr 2020 17:12:00 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk >>>>> On Wed, 15 Apr 2020 17:12:00 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org >> Date: Wed, 15 Apr 2020 15:54:09 +0200 >>=20 >> >> Or it=CA=BCs the interaction with redisplay that=CA=BCs slow >>=20 Eli> What interaction is that? >>=20 >> 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. Eli> Assuming that the non-main thread exits once it's done fetching, Eli> that's not different from a single-threaded fetching, is it? IOW, Eli> redisplay won't kick in until the code which fetches the images Eli> finishes. True. >> It=CA=BCs not yet clear to me from which thread that insertion event= ually >> gets done Eli> The one that fetches the stuff, I suppose. If not, how will the Eli> fetched stuff get passed to the main thread for insertion? url-retrieve doesn=CA=BCt actually fetch anything, it adds a fetching request to a work-queue, which then somehow actually causes a fetch. I think I have a lot more code to read before I understand everything that=CA=BCs going on :-) Robert