[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.
Thanks,
Stefan
- Re: Questions about throw-on-input, (continued)
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/10
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/11
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/11
- Re: Questions about throw-on-input,
Stefan Monnier <=
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/12
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/13
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/13
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/14
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/14
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/14
- RE: Questions about throw-on-input, Drew Adams, 2020/05/14
- Re: Questions about throw-on-input, Richard Stallman, 2020/05/14
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/14
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15