previous up next
Go backward to dist[clear]: Clear a Shared Object
Go up to 3.3 Shared Data
Go forward to dist[place]: Execute a Task by a Placed Process
RISC-Linz logo

dist[process]: Execute a Task by a Separate Process


task := 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


Maintainer: Wolfgang Schreiner
Last Modification: July 6, 2001

previous up next