aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/threads.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/threads.texi b/doc/lispref/threads.texi
index b3a70ee215c..6237392db3a 100644
--- a/doc/lispref/threads.texi
+++ b/doc/lispref/threads.texi
@@ -196,12 +196,12 @@ may be spurious notifications.
196 196
197 Similarly, the mutex must be held before notifying the condition. 197 Similarly, the mutex must be held before notifying the condition.
198The typical, and best, approach is to acquire the mutex, make the 198The typical, and best, approach is to acquire the mutex, make the
199changes associated with this condition, and then signal it: 199changes associated with this condition, and then notify it:
200 200
201@example 201@example
202(with-mutex mutex 202(with-mutex mutex
203 (setq global-variable (some-computation)) 203 (setq global-variable (some-computation))
204 (condition-signal cond-var)) 204 (condition-notify cond-var))
205@end example 205@end example
206 206
207@defun make-condition-variable mutex &optional name 207@defun make-condition-variable mutex &optional name