Threads Example Worksheet - Maple Programming Help

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

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;
 ${\mathrm{true}}$ (1)