[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No thread yield when using synchronous processes?
From: |
Michael Albinus |
Subject: |
Re: No thread yield when using synchronous processes? |
Date: |
Sun, 23 Dec 2018 09:07:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Philipp Stephani <p.stephani2@gmail.com> writes:
Hi Philipp,
>> The manual is clear about this: "when waiting for ... process output
>> (e.g., during ‘accept-process-output’)". `accept-process-output' is used
>> only for asynchronous processes.
>
> That parenthetical says "e.g." and not "i.e.", implying that there are
> other situations where Emacs waits for process output. Clearly the
> "read" call made by call-process is such a situation, so I'd expect
> this sentence to apply to them.
You are right, the documentation shall say it explicitly. That's what
Eli has recommended as well.
I've pushed a fix to the emacs-26 branch. If thread switching will be
implemented also for synchronous processes, this might be adapted.
Best regards, Michael-