Docs.rs
affinity-0.1.1
affinity 0.1.1
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
Crates.io
Source
Owners
elast0ny
Dependencies
cfg-if 0.*
normal
num_cpus 1.*
normal
errno 0.*
normal
libc 0.*
normal
Versions
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
affinity
All crates
[
−
]
[src]
Function
affinity
::
get_core_num
pub fn get_core_num() ->
usize
Returns the number of available cores