diff options
| author | Michael Albinus | 2018-12-23 09:04:37 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-12-23 09:04:37 +0100 |
| commit | 0f9be72701b5cf03a5b1162c4bce2776a5d2ba81 (patch) | |
| tree | 0066e2bed3da45d675d3d2fd137b387907769395 /doc | |
| parent | 24ddea074a2e61f7accde60cdf941ba67b1ce82a (diff) | |
| download | emacs-0f9be72701b5cf03a5b1162c4bce2776a5d2ba81.tar.gz emacs-0f9be72701b5cf03a5b1162c4bce2776a5d2ba81.zip | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/threads.texi | 6 |
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. | |||
| 17 | 17 | ||
| 18 | Currently, thread switching will occur upon explicit request via | 18 | Currently, thread switching will occur upon explicit request via |
| 19 | @code{thread-yield}, when waiting for keyboard input or for process | 19 | @code{thread-yield}, when waiting for keyboard input or for process |
| 20 | output (e.g., during @code{accept-process-output}), or during blocking | 20 | output from asynchronous processes (e.g., during |
| 21 | operations relating to threads, such as mutex locking or | 21 | @code{accept-process-output}), or during blocking operations relating |
| 22 | @code{thread-join}. | 22 | to threads, such as mutex locking or @code{thread-join}. |
| 23 | 23 | ||
| 24 | Emacs Lisp provides primitives to create and control threads, and | 24 | Emacs Lisp provides primitives to create and control threads, and |
| 25 | also to create and control mutexes and condition variables, useful for | 25 | also to create and control mutexes and condition variables, useful for |