Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/src/new/emscripten/sched.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / libc / src / new / emscripten / sched.rs` 38 lines ยท 1365 bytes Raw Blame History 1 use crate::prelude::*; 2 3 cfg_if! { 4 if #[cfg(musl_v1_2_3)] { 5 s! { 6 struct __c_anon_sched_param__reserved2 { 7 __reserved1: crate::time_t, 8 __reserved2: c_long, 9 } 10 11 pub struct sched_param { 12 pub sched_priority: c_int, 13 14 __reserved1: Padding, 15 #[cfg(musl32_time64)] 16 __reserved2: Padding<[c_long; 4]>, 17 #[cfg(not(musl32_time64))] 18 __reserved2: Padding<[__c_anon_sched_param__reserved2; 2]>, 19 __reserved3: Padding, 20 } 21 } 22 } else { 23 s! { 24 pub struct sched_param { 25 pub sched_priority: c_int, 26 27 #[deprecated(since = "0.2.173", note = "This field has been removed upstream")] 28 pub sched_ss_low_priority: c_int, 29 #[deprecated(since = "0.2.173", note = "This field has been removed upstream")] 30 pub sched_ss_repl_period: crate::timespec, 31 #[deprecated(since = "0.2.173", note = "This field has been removed upstream")] 32 pub sched_ss_init_budget: crate::timespec, 33 #[deprecated(since = "0.2.173", note = "This field has been removed upstream")] 34 pub sched_ss_max_repl: c_int, 35 } 36 } 37 } 38 }