next
|
previous
| forward |
backward
|
up
|
top
|
index
|
toc
|
Macaulay2 web site
Macaulay2Doc
>
The Macaulay2 language
>
parallel programming with threads and tasks
>
Task
Task -- the class of all tasks
Functions and methods returning a task :
createTask(Function), see
createTask
-- create a task
createTask(Function,Thing), see
createTask
-- create a task
schedule(Function), see
schedule
-- schedule a task for execution
schedule(Function,Thing), see
schedule
-- schedule a task for execution
schedule(Task), see
schedule
-- schedule a task for execution
Methods that use a task :
addCancelTask(Task,Task)
-- specify that the completion of one task triggers the cancellation of another
addDependencyTask(Task,Task)
-- schedule a task, but ensure that it will not run until another task finishes
addStartTask(Task,Task)
-- schedule a task upon completion of another
cancelTask(Task)
-- stop a task
isCanceled(Task)
-- whether a task has been canceled
isReady(Task)
-- whether a task is finished
taskResult(Task)
-- retrieve the value returned by a task
For the programmer
The object
Task
is
a
type
, with ancestor class
Thing
.