Skip to content

v1.13.0

Compare
Choose a tag to compare
@seanmonstar seanmonstar released this 15 Apr 16:19
· 19 commits to master since this release

Features

  • add Linux cgroups support when calling get().

Linux cgroups are a way to restrict the amount of resources a container can use. With this change, most libraries and applications deciding the number of threads to use via num_cpus::get() will spawn less threads, resulting in better usage of the CPU, and typically perform better.

image