diff options
| author | Tom Tromey | 2012-08-23 14:00:38 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-23 14:00:38 -0600 |
| commit | c2283a75564d7794fb5f604eafc6b65f71146e7f (patch) | |
| tree | 4ca195f99c68678dc164341e6bb97f6692be5df6 /doc | |
| parent | 0ec3764d398add8c038b317201d139aaef4a594e (diff) | |
| download | emacs-c2283a75564d7794fb5f604eafc6b65f71146e7f.tar.gz emacs-c2283a75564d7794fb5f604eafc6b65f71146e7f.zip | |
document until-condition
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/threads.texi | 6 |
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 | |||
| 236 | Return the mutex associated with @var{cond}. Note that the associated | 236 | Return the mutex associated with @var{cond}. Note that the associated |
| 237 | mutex cannot be changed. | 237 | mutex cannot be changed. |
| 238 | @end defun | 238 | @end defun |
| 239 | |||
| 240 | @defmac until-condition test cond | ||
| 241 | Acquire the mutex associated with @var{cond}, and then loop, invoking | ||
| 242 | the form @var{test}. If @var{test} evaluates to @code{nil}, invoke | ||
| 243 | @code{condition-wait} on @var{cond}. | ||
| 244 | @end defmac | ||