From 0f9be72701b5cf03a5b1162c4bce2776a5d2ba81 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 23 Dec 2018 09:04:37 +0100 Subject: [PATCH] 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. --- doc/lispref/threads.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5