emacs-devel
[Top][All Lists]
Advanced

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

Re: master af152ffab1: Don't freeze if the compositing manager crashes


From: Po Lu
Subject: Re: master af152ffab1: Don't freeze if the compositing manager crashes
Date: Sat, 30 Jul 2022 18:39:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: emacs-devel@gnu.org
>> Date: Sat, 30 Jul 2022 16:37:37 +0800
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Why not?
>> 
>> Because wait_reading_process_output will call read_socket_hook to read
>> events, and at that point it's too late to extract the event we want out
>> of the queue.
>
> Why too late?

Because read_socket_hook has already removed the event (which is
probably not the event we want) from the queue.

> Anyway, your change freezes Emacs for a whole second, which doesn't
> seem to be a good idea.

It only freezes in a rare situation, which is when the compositing
manager crashes after the user has explictly enabled frame
synchronization.


reply via email to

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