about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-12-23 11:28:24 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2016-01-12 08:43:52 +0100
commit468959580ae9bef5996ae1d43fc9d730e4977999 (patch)
tree8ce71c91f2628ed77c41153a6b45673c414f962b /src/libstd/sys/unix/stack_overflow.rs
parentcb3999cd83a3fbfbd79aaeef3a295aff46c9ea14 (diff)
downloadrust-468959580ae9bef5996ae1d43fc9d730e4977999.tar.gz
rust-468959580ae9bef5996ae1d43fc9d730e4977999.zip
HW_AVAILCPU is unavailable under openbsd
define `num_cpus()` function for openbsd that use `HW_NCPU` for grabbing
the current number of cpus that could be used.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions