From: Michael Albinus Date: Sun, 23 Dec 2018 08:04:37 +0000 (+0100) Subject: Clarify thread switching while waiting for process output X-Git-Tag: emacs-26.1.91~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f9be72701b5cf03a5b1162c4bce2776a5d2ba81;p=emacs.git Clarify thread switching while waiting for process output * doc/lispref/threads.texi (Threads): Clarify, that thread switching happens when waiting for process output from asynchronous processes. --- diff --git a/doc/lispref/threads.texi b/doc/lispref/threads.texi index ddeb2e923fc..69f89c32bf1 100644 --- a/doc/lispref/threads.texi +++ b/doc/lispref/threads.texi @@ -17,9 +17,9 @@ correct programs should not rely on cooperative threading. Currently, thread switching will occur upon explicit request via @code{thread-yield}, when waiting for keyboard input or for process -output (e.g., during @code{accept-process-output}), or during blocking -operations relating to threads, such as mutex locking or -@code{thread-join}. +output from asynchronous processes (e.g., during +@code{accept-process-output}), or during blocking operations relating +to threads, such as mutex locking or @code{thread-join}. Emacs Lisp provides primitives to create and control threads, and also to create and control mutexes and condition variables, useful for