next
|
previous
|
forward
| backward |
up
|
top
|
index
|
toc
|
Macaulay2 web site
Macaulay2Doc
>
The Macaulay2 language
>
programming with threads
>
Thread
Thread -- the class of all threads
Functions and methods returning a thread :
schedule(Function), see
schedule
-- start a new thread
schedule(Function,Thing), see
schedule
-- start a new thread
Methods that use a thread :
cancelTask(Thread)
-- stop a thread
isReady(Thread)
-- whether a thread is finished
taskResult(Thread)
-- retrieve the value returned by a thread
For the programmer
The object
Thread
is
a
type
, with ancestor class
Thing
.