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 15:02:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> There are a few places in Emacs that wait for similar reasons, so my
> suggestion is to do this like they do, i.e. by calling
> wait_reading_process_output.  The advantage is that we let other code
> and other threads to run while we wait.

The problem here is Emacs doesn't just "wait" for an event, it has to
use X(Check)IfEvent to remove that single event from the event queue, in
effect processing it "out-of-order".

So unfortunately wait_reading_process_output doesn't quite fit the bill
here.


reply via email to

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