commit | 46453d3f7d09c56b07a1b3745f1a2d24c5650c15 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Thu Apr 11 00:06:47 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Thu Apr 11 00:09:22 2019 +0200 |
tree | 30e0728d79b08708bfaff336e8f29c4c7a9abee4 | |
parent | 526dc95eb988bde789f2b1c3e7ea24e0f3dfc540 [diff] |
MINOR: threads: Implement thread_cpus_enabled() for FreeBSD. Use cpuset_getaffinity() to implement thread_cpus_enabled() on FreeBSD, so that we can know the number of CPUs available, and automatically launch as much threads if nbthread isn't specified.