mach2 0.6.0

A Rust interface to the user-space API of the Mach 3.0 kernel that underlies OSX.
Documentation
1
2
3
4
5
6
//! This module corresponds to `mach/thread_switch.h`.
use core::ffi::c_int;

pub const SWITCH_OPTION_NONE: c_int = 0;
pub const SWITCH_OPTION_DEPRESS: c_int = 1;
pub const SWITCH_OPTION_WAIT: c_int = 2;