aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / libc / src / new / apple / libpthread / sys / qos.rs
| 1 | //! Header: `sys/qos.h` |
| 2 | //! |
| 3 | //! <https://github.com/apple-oss-distributions/libpthread/blob/main/include/sys/qos.h> |
| 4 | |
| 5 | use crate::prelude::*; |
| 6 | |
| 7 | #[derive(Debug)] |
| 8 | #[repr(u32)] |
| 9 | pub enum qos_class_t { |
| 10 | QOS_CLASS_USER_INTERACTIVE = 0x21, |
| 11 | QOS_CLASS_USER_INITIATED = 0x19, |
| 12 | QOS_CLASS_DEFAULT = 0x15, |
| 13 | QOS_CLASS_UTILITY = 0x11, |
| 14 | QOS_CLASS_BACKGROUND = 0x09, |
| 15 | QOS_CLASS_UNSPECIFIED = 0x00, |
| 16 | } |
| 17 | impl Copy for qos_class_t {} |
| 18 | impl Clone for qos_class_t { |
| 19 | fn clone(&self) -> qos_class_t { |
| 20 | *self |
| 21 | } |
| 22 | } |