Add deftech for "future".

This commit is contained in:
Sam Tobin-Hochstadt 2011-04-27 10:46:07 -04:00
parent 0d246de293
commit 9469835be4

View File

@ -23,7 +23,7 @@ The @racket[future] and @racket[touch] functions from
by the hardware and operating system. In contrast to @racket[thread], by the hardware and operating system. In contrast to @racket[thread],
which provides concurrency for arbitrary computations without which provides concurrency for arbitrary computations without
parallelism, @racket[future] provides parallelism for limited parallelism, @racket[future] provides parallelism for limited
computations. A future executes its work in parallel (assuming that computations. A @deftech{future} executes its work in parallel (assuming that
support for parallelism is available) until it detects an attempt to support for parallelism is available) until it detects an attempt to
perform an operation that is too complex for the system to run safely in perform an operation that is too complex for the system to run safely in
parallel. Similarly, work in a future is suspended if it depends in some parallel. Similarly, work in a future is suspended if it depends in some