summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-27 13:10:59 -0600
committerTom Tromey <tromey@redhat.com>2013-08-27 13:10:59 -0600
commit0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac (patch)
tree85e6dbd34891782afceccffe0731b6337491dc33
parentc1456e303a4502f637a87681dd623f589c25ed23 (diff)
downloademacs-0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac.tar.gz
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.
Similarly, the mutex must be held before notifying the condition.
The typical, and best, approach is to acquire the mutex, make the
-changes associated with this condition, and then signal it:
+changes associated with this condition, and then notify it:
@example
(with-mutex mutex
(setq global-variable (some-computation))
- (condition-signal cond-var))
+ (condition-notify cond-var))
@end example
@defun make-condition-variable mutex &optional name