scheduler/lib.rs
1//! Bindings to `sched.h` and `sys/resource.h`
2//!
3//! Just enough to set the scheduler priority.
4#![deny(missing_docs)]
5extern crate errno;
6extern crate libc;
7
8mod sched;
9mod resource;
10#[cfg(any(target_os = "linux", target_os = "emscripten"))]
11mod cpuset;
12
13pub use sched::*;
14pub use resource::*;
15#[cfg(any(target_os = "linux", target_os = "emscripten"))]
16pub use cpuset::CpuSet;