]> git.eshelyaron.com Git - emacs.git/commitdiff
use condition-notify in the docs, not condition-signal
authorTom Tromey <tromey@redhat.com>
Tue, 27 Aug 2013 19:10:59 +0000 (13:10 -0600)
committerTom Tromey <tromey@redhat.com>
Tue, 27 Aug 2013 19:10:59 +0000 (13:10 -0600)
doc/lispref/threads.texi

index b3a70ee215c082ee1fb5b55037e310b95e8c0258..6237392db3a336dc3c2416cdcd0f354c3e1aca09 100644 (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