Go backward to dist[clear] : Clear a Shared ObjectGo up to 3.3 Shared Data Go forward to dist[place] : Execute a Task by a Placed Process |
dist[process]
: Execute a Task by a Separate Processtask := dist[process](fun, args...)
This call creates a task that computes fun(args...) on a
separate (possibly newly created) Maple kernel. This kernel has executed all
the commands issued through previous calls of dist[all]
in
the corresponding order. During the execution of the task, no other task is
scheduled on the kernel.
One must use this operation (rather than dist[start]
) if
args contains other tasks or shared objects.
The execution of dist[process]
may involve a larger runtime and
especially memory overhead than the execution of
dist
[start].
> t := dist[process](int, x^n, x); t := 0