diff options
| author | Andy Wingo <wingo@pobox.com> | 2017-02-20 13:24:10 +0100 |
|---|---|---|
| committer | Andy Wingo <wingo@pobox.com> | 2017-02-20 13:24:10 +0100 |
| commit | 8340c25e45ee65313d70b95c83bd3b6ab547b305 (patch) | |
| tree | b4a3d3f2d0a217cb87a48200806549927f3035ef | |
| parent | run-fibers returns when initial fiber finishes (diff) | |
| download | guile-fibers-8340c25e45ee65313d70b95c83bd3b6ab547b305.tar.gz | |
Update documentation.
* fibers.texi (Internals): Document scheduler-work-pending?.
| -rw-r--r-- | fibers.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fibers.texi b/fibers.texi index 1549136..9df1ca1 100644 --- a/fibers.texi +++ b/fibers.texi @@ -806,6 +806,11 @@ Return a random scheduler from @var{sched}'s peer set. Note that @var{sched}'s peer set includes @var{sched} itself. @end defun +@defun scheduler-work-pending? sched +Return @code{#t} if @var{sched} has any work pending: any runnable +fibers or any pending timeouts. +@end defun + @defun run-scheduler sched finished? Run @var{sched} until there are no more fibers ready to run, no file descriptors being waited on, and no more timers pending to run, and |
