|
D.2.12 tasks_lib
- Library:
- tasks.lib
- Purpose:
- A parallel framework based on tasks
- Author:
- Andreas Steenpass, e-mail: [email protected]
- Overview:
- This library provides a parallel framework based on tasks. It introduces a new
Singular type
task ; an object of this type is a command (given by a
string) applied to a list of arguments. Tasks can be computed in parallel via
the procedures in this library and they can even be started recursively, i.e.
from within other tasks.
tasks.lib respects the limits for computational resources defined
in resources_lib, i.e., all tasks within the same Singular session will
not use more computational resources than provided via resources.lib, even if
tasks are started recursively.
The Singular library parallel_lib provides implementations of several
parallel 'skeletons' based on tasks.lib.
Procedures:
See also:
parallel_lib;
resources_lib.
|