use condition-notify in the docs, not condition-signal

This commit is contained in:
Tom Tromey 2013-08-27 13:10:59 -06:00
parent c1456e303a
commit 0e82377a2d

View file

@ -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