diff options
-rw-r--r-- | src/unix/notbsd/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index b8c3eea249..1ffb13386a 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -391,6 +391,8 @@ extern { ptr: *const ::gid_t) -> ::c_int; pub fn sched_setscheduler(pid: ::pid_t, policy: ::c_int, param: *const sched_param) -> ::c_int; pub fn sched_getscheduler(pid: ::pid_t) -> ::c_int; + pub fn sched_get_priority_max(policy: ::c_int) -> ::c_int; + pub fn sched_get_priority_min(policy: ::c_int) -> ::c_int; } cfg_if! { |