From: Tom Tromey Date: Tue, 27 Aug 2013 19:10:59 +0000 (-0600) Subject: use condition-notify in the docs, not condition-signal X-Git-Tag: emacs-26.0.90~1144^2~17^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac;p=emacs.git use condition-notify in the docs, not condition-signal --- 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