next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: schedule

schedule -- start a new thread

Synopsis

Description

The computation proceeds in the background, in the new thread. The status of the thread can be observed by printing t. When the computation is finished, as can be detected with isReady(Thread), the final value can be retrieved with taskResult(Thread).

If notify is set to true, then useful messages are printed when the thread changes state.

Ways to use schedule :