previous up next
Go backward to dist[start]: Create a Task
Go up to 3.2 Basic Model
Go forward to dist[select]: Wait for Some Task Result
RISC-Linz logo

dist[wait]: Wait for a Task Result


result := dist[wait](task)

This call suspends the current execution until task has completed and then returns its result. While the current execution is suspended, other tasks can be executed by the corresponding Maple kernel.


> t := dist[start](int, x^n, x):
> r := 1 + dist[wait](t);
                                         (n + 1)
                                        x
                               r := 1 + --------
                                         n + 1


Maintainer: Wolfgang Schreiner
Last Modification: July 6, 2001

previous up next