simulate `std::thread::available_parallelism`
wangrunji0408 opened this issue · 0 comments
wangrunji0408 commented
We need to intercept sched_getaffinity
on linux and sysconf(_SC_NPROCESSORS_ONLN)
on macOS.
wangrunji0408 opened this issue · 0 comments
We need to intercept sched_getaffinity
on linux and sysconf(_SC_NPROCESSORS_ONLN)
on macOS.