
Enhanced Tools for Solution Developement
Multithreaded Task Programming
Maple 13 provides a new, simpler multithreaded programming model. Using the Task Programming Model, scalable multithreaded code can be written more easily in Maple. This model simplifies the process of writing multithreaded code, often removing the need to use synchronisation routines.
- No explicit threading is required. Users create Tasks, not Threads
- Maple schedules the Tasks to the processors so that the code scales to the number of available processors.
- Multiple algorithms written using the Task Programming Model can run at the same time without significant performance impact.
- Complex problems can be solved without requiring traditional synchronisation tools such as mutexes and condition variables.
- If such synchronisation tools are not used, the function cannot be deadlocked.
- The Task functions are simple and the model mirrors conventional function calling.
|