File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1269,10 +1269,12 @@ regfree
12691269regmatch_t
12701270regoff_t
12711271sched_getparam
1272+ sched_getscheduler
12721273sched_get_priority_max
12731274sched_get_priority_min
12741275sched_param
12751276sched_setparam
1277+ sched_setscheduler
12761278secure_path
12771279seekdir
12781280sem
Original file line number Diff line number Diff line change @@ -2239,6 +2239,12 @@ extern "C" {
22392239
22402240 pub fn sched_setparam ( pid : :: pid_t , param : * const sched_param ) -> :: c_int ;
22412241 pub fn sched_getparam ( pid : :: pid_t , param : * mut sched_param ) -> :: c_int ;
2242+ pub fn sched_getscheduler ( pid : :: pid_t ) -> :: c_int ;
2243+ pub fn sched_setscheduler (
2244+ pid : :: pid_t ,
2245+ policy : :: c_int ,
2246+ param : * const :: sched_param ,
2247+ ) -> :: c_int ;
22422248}
22432249
22442250#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments