FUNCTION REFERENCE

parallel.ThreadPool

Thread-based parallel pool object returned by parpool('Threads').

Thread-based parallel pool object returned by parpool('Threads').

Syntax

p = parpool('Threads')

Exposes NumWorkers, Connected, Busy and IdleTimeout properties and accepts parfeval and delete.

Example

p = parpool('Threads'); class(p)   % 'parallel.ThreadPool'

Differences from MATLAB: Runs serially in MatRust with NumWorkers equal to 1.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.