summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2017-07-31 10:57:04 +0200
committerGitHub <noreply@github.com>2017-07-31 10:57:04 +0200
commit32b63e2493195df29f6234310cbe388a452c74e7 (patch)
tree88339341fee9f6e90ce0a4a0b4e4ceee9a1e55a2
parentAdd local ping-pong benchmark (diff)
parentDocument signal-condition! (diff)
downloadguile-fibers-32b63e2493195df29f6234310cbe388a452c74e7.tar.gz
Merge pull request #10 from cwebber/document-signal-condition
Document signal-condition!
-rw-r--r--fibers.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/fibers.texi b/fibers.texi
index 9c139de..09f8efd 100644
--- a/fibers.texi
+++ b/fibers.texi
@@ -710,6 +710,11 @@ Return @code{#t} if @var{obj} is a condition variable, or @code{#f}
otherwise.
@end defun
+@defun signal-condition! cvar
+Signal @var{cvar}, notifying all waiting fibers and preventing
+blocking of future fibers waiting on this condition.
+@end defun
+
@defun wait-operation cvar
Make an operation that will succeed with no values when @var{cvar}
becomes signalled.