diff options
Diffstat (limited to 'doc/ref/api-scheduling.texi')
-rw-r--r-- | doc/ref/api-scheduling.texi | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/doc/ref/api-scheduling.texi b/doc/ref/api-scheduling.texi index 34697d3cf..8382ba3f1 100644 --- a/doc/ref/api-scheduling.texi +++ b/doc/ref/api-scheduling.texi @@ -792,39 +792,6 @@ Like @code{scm_with_dynamic_state}, but call @var{func} with @var{data}. @end deftypefn -@c @node Futures -@c @subsection Futures -@c @cindex futures - -@c -- Futures are disabled for the time being, see futures.h for an -@c -- explanation. - -@c Futures are a convenient way to run a calculation in a new thread, and -@c only wait for the result when it's actually needed. - -@c Futures are similar to promises (@pxref{Delayed Evaluation}), in that -@c they allow mainline code to continue immediately. But @code{delay} -@c doesn't evaluate at all until forced, whereas @code{future} starts -@c immediately in a new thread. - -@c @deffn {syntax} future expr -@c Begin evaluating @var{expr} in a new thread, and return a ``future'' -@c object representing the calculation. -@c @end deffn - -@c @deffn {Scheme Procedure} make-future thunk -@c @deffnx {C Function} scm_make_future (thunk) -@c Begin evaluating the call @code{(@var{thunk})} in a new thread, and -@c return a ``future'' object representing the calculation. -@c @end deffn - -@c @deffn {Scheme Procedure} future-ref f -@c @deffnx {C Function} scm_future_ref (f) -@c Return the value computed by the future @var{f}. If @var{f} has not -@c yet finished executing then wait for it to do so. -@c @end deffn - - @node Parallel Forms @subsection Parallel forms @cindex parallel forms |