dcbaker / meson-plus-plus

An experimental and incomplete implementation of Meson in C++, for solving Meson's bootstrapping issue.
Apache License 2.0
50 stars 7 forks source link

Don't hardcode number of jobs for threaded search #145

Open dcbaker opened 2 weeks ago

dcbaker commented 2 weeks ago

This should be based on the number of hardware threads we have available, which we need a utility to query. Bonus points if we spawn less than the maximum number of workers when the total jobs are less than the number of threads available.