Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
»
The Macaulay2 language
»
parallel programming with threads and tasks
»
addCancelTask(Task,Task)
next
|
previous
|
forward
|
backward
|
up
|
index
|
toc
addCancelTask(Task,Task) -- specify that the completion of one task triggers the cancellation of another
Function:
addCancelTask
Usage:
addCancelTask(t,u)
Inputs:
t
,
a
task
,
u
,
a
task
,
Consequences:
when the task
t
is finished, then the task
u
will be cancelled
Ways to use this method:
addCancelTask(Task,Task)
-- specify that the completion of one task triggers the cancellation of another
The source of this document is in
Macaulay2Doc/ov_threads.m2:498:0
.