aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey2013-08-27 13:10:59 -0600
committerTom Tromey2013-08-27 13:10:59 -0600
commit0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac (patch)
tree85e6dbd34891782afceccffe0731b6337491dc33
parentc1456e303a4502f637a87681dd623f589c25ed23 (diff)
downloademacs-0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac.tar.gz
emacs-0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac.zip
use condition-notify in the docs, not condition-signal
-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