[Top][All Lists]

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

Re: Questions about throw-on-input

From: Stefan Monnier
Subject: Re: Questions about throw-on-input
Date: Mon, 11 May 2020 16:14:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Actually a better solution is often to run in a separate process
>> (e.g. via `async.el`). That also lets you use the various CPU cores
>> lying idle ;-)
> async.el starts slowly,

Right, but you were talking about a presumably longish-running
background job, so the startup should be "negligible".

> has no good way to read the current state like text properties or
> buffer content, has no knowledge about loaded libraries and incurs
> double serialization overhead.

Yes, it has its share of hurdles.

>> IOW if `thread-yield` doesn't do the trick, you should
>> likely `M-x report-emacs-bug`.
> Yielding doesn't work for me, my input is ignored most of the time. I
> will make my code emacs-q ready and open a bug report for it tomorrow.



reply via email to

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