summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-12-23 09:04:37 +0100
committerMichael Albinus <michael.albinus@gmx.de>2018-12-23 09:04:37 +0100
commit0f9be72701b5cf03a5b1162c4bce2776a5d2ba81 (patch)
tree0066e2bed3da45d675d3d2fd137b387907769395
parent24ddea074a2e61f7accde60cdf941ba67b1ce82a (diff)
downloademacs-0f9be72701b5cf03a5b1162c4bce2776a5d2ba81.tar.gz
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.
-rw-r--r--doc/lispref/threads.texi6
1 files 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