emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rendering regression in Gnus with gnus-treat-from-gravatar


From: Eli Zaretskii
Subject: Re: Rendering regression in Gnus with gnus-treat-from-gravatar
Date: Wed, 15 Apr 2020 15:01:49 +0300

> From: Robert Pluim <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Wed, 15 Apr 2020 13:55:59 +0200
> 
>     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ʼs the slow bit.

You could put a breakpoint before and after the URL request, and then
see which part takes time.

> Or itʼs the interaction with redisplay thatʼs slow

What interaction is that?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]