a high-level multithreaded programming model - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Multithreaded Programming : Task : Threads/Task

Threads[Task] - a high-level multithreaded programming model

Calling Sequence

Threads[Task][command](arguments)

command(arguments)

Description

• 

The Task package provides a high-level multithreaded programming interface.  It provides a programming model that simplifies multithreaded programming.  For more details of the Task programming model, see the Task Programming Model help page.

List of Task Package Commands

Continue

Return

Start

 

• 

The Start function creates the initial Task and waits until the Task is complete before returning the value returned by that Task.

• 

The Continue function is called from a Task to create child Tasks and a continuation Task.

• 

The Return function allows a Task to stop the execution of the Task Model and return a particular value from Start.

See Also

Continue, examples,Task, Start, Task Programming Model, Threads


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam