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

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

Re: No thread yield when using synchronous processes?


From: Philipp Stephani
Subject: Re: No thread yield when using synchronous processes?
Date: Sun, 23 Dec 2018 10:58:46 +0100

Am So., 23. Dez. 2018 um 09:07 Uhr schrieb Michael Albinus
<michael.albinus@gmx.de>:
>
> 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.

Thanks!



reply via email to

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