bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#71223: 30.0.50; stack overflow after very fast opening and closing o


From: Stefan Monnier
Subject: bug#71223: 30.0.50; stack overflow after very fast opening and closing of frames
Date: Thu, 30 May 2024 09:40:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> Then please explain why you think "any kind of waiting" is a source of
> problems in Emacs.

As I tried to explain in my last email, I did not say that any kind of
waiting is a source of problems in Emacs.  I said that (in this
specific case) "if at all possible, I'd rather not wait".

And I said that the `sit-for` way of waiting is a source of problems
in Emacs (as a general rule).

>> > Queueing timers will not solve the problem, I suspect, but will likely
>> > get us into a different one, since timers are run by the main loop.
>> Why would running them from the main loop be a problem?
> Because the main loop uses the same pselect call that reacts to input
> from sub-processes which is called by sit-for, and moreover, adding
> timers makes the main loop increase its looping rate.

None of which sound like problems to me, so I must be missing something.


        Stefan






reply via email to

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