Example Worksheet - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Threads Example Worksheet

The Threads package provides user level commands for using threads in Maple.  Threads allow for multiple paths of execution to be running at the same time.  This can allow Maple to perform a greater number of computations per second when running on a multi-core machine.

 

To access the Threads package you must be running the multithreaded Maple engine.  Please see the multithreaded page for information on how to start multithreaded Maple engine and for more general information on the multithreaded Maple engine and its limitations.  This example worksheet assumes that you are running a multithreaded kernel.  To test this execute the following line

restart;

kernelopts( multithreaded );

true

(1)

If the command above returned false then you are not running the multithreaded kernel and this worksheet will not function properly.

 

Return to Index of Example Worksheets