Threads Example Worksheet - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Applications and Example Worksheets : Language and System : examples/Threads

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


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