summaryrefslogtreecommitdiff
path: root/doc/lispref/threads.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/threads.texi')
-rw-r--r--doc/lispref/threads.texi6
1 files changed, 6 insertions, 0 deletions
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