rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.51k stars 341 forks source link

Add N_THREAD_LIMIT to limit the max number of threads (upper limit). #4510

Closed wargio closed 1 month ago

wargio commented 1 month ago

Your checklist for this pull request

Detailed description

This PR allows to create more threads than (previously) allowed, but also sets an hardcoded upper limit (that can be changed as a meson option)