From: Tom Tromey Date: Thu, 23 Aug 2012 20:00:38 +0000 (-0600) Subject: document until-condition X-Git-Tag: emacs-26.0.90~1144^2~17^2~59 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2283a75564d7794fb5f604eafc6b65f71146e7f;p=emacs.git document until-condition --- diff --git a/doc/lispref/threads.texi b/doc/lispref/threads.texi index 760452808cf..8094a68f9aa 100644 --- a/doc/lispref/threads.texi +++ b/doc/lispref/threads.texi @@ -236,3 +236,9 @@ Return the name of @var{cond}, as passed to Return the mutex associated with @var{cond}. Note that the associated mutex cannot be changed. @end defun + +@defmac until-condition test cond +Acquire the mutex associated with @var{cond}, and then loop, invoking +the form @var{test}. If @var{test} evaluates to @code{nil}, invoke +@code{condition-wait} on @var{cond}. +@end defmac