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
1269
1269
regmatch_t
1270
1270
regoff_t
1271
1271
sched_getparam
1272
+ sched_getscheduler
1272
1273
sched_get_priority_max
1273
1274
sched_get_priority_min
1274
1275
sched_param
1275
1276
sched_setparam
1277
+ sched_setscheduler
1276
1278
secure_path
1277
1279
seekdir
1278
1280
sem
Original file line number Diff line number Diff line change @@ -2239,6 +2239,12 @@ extern "C" {
2239
2239
2240
2240
pub fn sched_setparam ( pid : :: pid_t , param : * const sched_param ) -> :: c_int ;
2241
2241
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 ;
2242
2248
}
2243
2249
2244
2250
#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments