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 14773 invoked from network); 15 Apr 2020 11:56:55 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with UTF8ESMTPZ; 15 Apr 2020 11:56:55 -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 1jOgeP-0000Jr-PP; Wed, 15 Apr 2020 06:56:17 -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 1jOgeM-0000HB-EI for ding@lists.math.uh.edu; Wed, 15 Apr 2020 06:56:14 -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 1jOgeL-0003qS-15 for ding@lists.math.uh.edu; Wed, 15 Apr 2020 06:56:14 -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=mbryA781Gb+URvrfnPogYLV+k+7bF6Mv5WhhIlr5rSw=; b=hb0RH246y+p83dL0n4ImCAbuN/ 9Sl0PshJN8UduX4/M4/7EopZP5Hsuh/OYLEZMHcy18MtbJ8kjHr4KkLu5Y8X+RsWFLrWRtV8BZ34Y wK9N7FJ278ZFrgYWsXhgrXpQtCaeKpHjj36vxlM1wbQa7geFgrJcyAPZ1ME5y1rib0x0=; Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jOgeE-000631-Au for ding@gnus.org; Wed, 15 Apr 2020 13:56:08 +0200 Received: by mail-wr1-x434.google.com with SMTP id f13so18743565wrm.13 for ; Wed, 15 Apr 2020 04:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=mbryA781Gb+URvrfnPogYLV+k+7bF6Mv5WhhIlr5rSw=; b=uvj2c5IwOfgfccfJaZP2qHpwu2dsgvmE7/4psm8W6zApnYUhl4zTyWToYJLUFSZkCj 9CY4G48SF1INZoIjd07kpopi1UwKIvhl5kB8lU/JYMBEtJT7WCl0LaaATkqus1rXOt7K jk11zphw2NuBBevXzqPebsSDwyKH+twpFw895iakpfPA5kUn/ozr9v98zNNz/GDrQM6+ jTl8N75yoBwHXdUe5nG0rfp+/1K+jOBndOipfX+zlZXYUGhkPg8tUloAy40zSlDecM9f aLZpQC8ySDoTQmlwSd2d1S7AnPB7P2zsjmaAUjOOZWvs3FYM+UNMOXZAGFn2IfCVud0S 0f9g== 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:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=mbryA781Gb+URvrfnPogYLV+k+7bF6Mv5WhhIlr5rSw=; b=EWnnHQSr9zHqugWRQPDrO9G5DAPeKLTYESuKOipE3Soe8kSajuTiprMzLaU2gFRR0b pIt9j3NRoy+heYaI66fLL9UOiLG7qMHOAF2QcpcJFa9mJahw9RxkEcTrhgVyYMzdtdUw pBmSv8Z6OSgBtWuTF8UGS7yq8UjAYDyL78G3YCReQs7DxyzQt3+BViR3UoxX2XmuF43K PHGK/mPnCliN6986AKhPQbMMitflfZ3FlZAXM3H8nYFxUJK40H7uSGhkzTKSugCwgbx3 Y/xh8X/DezJH54VkZPwbA93QbaCpUukFCyz5STNwUcQlUWzNEiJpSy5qMyLUwWcflWhh G60w== X-Gm-Message-State: AGi0PuZhXPTY1wZjLrs82/ghL3kr5IAesvRISRS0TWEIrietDJ6GwnfQ iHGozHzV/GQDZdR3ZiephDk= X-Google-Smtp-Source: APiQypJnMoYNelsWGkQD9bwCIsqtQspBR46wAnDQNDo+mBCyowiucfsaUgDGr8hexljp45TRWWNfJg== X-Received: by 2002:adf:97ce:: with SMTP id t14mr27138860wrb.263.1586951762746; Wed, 15 Apr 2020 04:56:02 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:d25:1399:af8a:f424]) by smtp.gmail.com with ESMTPSA id a205sm17934017wmh.29.2020.04.15.04.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 04:56:02 -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> Date: Wed, 15 Apr 2020 13:55:59 +0200 In-Reply-To: <83d089ges8.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 15 Apr 2020 14:38:15 +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 14:38:15 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org >> Date: Wed, 15 Apr 2020 12:13:24 +0200 >>=20 >> As an aside, emacs threading seems very unresponsive, in that it >> appears to take a very long time after the thread has been started >> before it reacts to the signaling of the condition variable. I was >> assuming I didn=CA=BCt need to explicitly yield from the main thread >> after that, but perhaps I do? Eli> The thread will not run until the main thread yields in some way. Eli> What does the main thread do after calling make-thread? (with-mutex gravatar-mutex (setq gravatar-retrieve-params (list mail-address callback cbargs)) (condition-notify gravatar-cond-var)) (thread-yield) where the gravatar thread is doing 'condition-wait' on that same condition var. Except that it then fires off an asynchronous url request, so perhaps that=CA=BCs the slow bit. Or it=CA=BCs the interaction = with redisplay that=CA=BCs slow, I should perhaps test on a platform where redisplay is not limited to the main thread. Robert