Multithreading and parallelization#

Parallel looping#

threadfor, threadendfor

Begins and ends a parallel for loop.

Parallel sections#

threadBegin

Marks the beginning of a multi-line block of code to be executed as a separate thread.

threadEnd

Marks the beginning of a multi-line block of code to be executed as a separate thread.

threadJoin

Ends a set of threads using threadstat or threadbgin and threadend.

threadStat

Marks a single line of code to be executed as a separate thread.