mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
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.
This commit is contained in:
parent
24ddea074a
commit
0f9be72701
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user