[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master af152ffab1: Don't freeze if the compositing manager crashes
From: |
Eli Zaretskii |
Subject: |
Re: master af152ffab1: Don't freeze if the compositing manager crashes |
Date: |
Sat, 30 Jul 2022 11:06:26 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 30 Jul 2022 15:02:32 +0800
>
> 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.
Why not?