Simpler MEX Multi-Threading w/ a Persistent Thread Pool

Further speed up your MEX files by making it easier to add in support for multi-threading and eliminate multi-threading overhead.

https://github.com/michael-nix/MATLAB-MEX-Threadpool

Download
Download

You are now following this Submission

Cite As

oreoman (2026). Simpler MEX Multi-Threading w/ a Persistent Thread Pool (https://github.com/michael-nix/MATLAB-MEX-Threadpool), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2018a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.2

Simple bug fix in madd_threadpool.c

Download
1.1.0

Added a few helper functions to make my life easier, and make it possible to use the same thread pool among multiple MEX files. Not properly documented 'cause I'm lazy.

Download
1.0.0

Download
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.