File tree Expand file tree Collapse file tree 7 files changed +12
-2
lines changed Expand file tree Collapse file tree 7 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1359,6 +1359,8 @@ regmatch_t
1359
1359
regoff_t
1360
1360
rtprio
1361
1361
sched_getscheduler
1362
+ sched_get_priority_max
1363
+ sched_get_priority_min
1362
1364
sched_param
1363
1365
sched_setscheduler
1364
1366
seekdir
Original file line number Diff line number Diff line change @@ -1626,6 +1626,8 @@ rtprio
1626
1626
rtprio_thread
1627
1627
sallocx
1628
1628
sched_getscheduler
1629
+ sched_get_priority_max
1630
+ sched_get_priority_min
1629
1631
sched_param
1630
1632
sched_setscheduler
1631
1633
sdallocx
Original file line number Diff line number Diff line change @@ -1265,6 +1265,8 @@ regfree
1265
1265
regmatch_t
1266
1266
regoff_t
1267
1267
sched_getparam
1268
+ sched_get_priority_max
1269
+ sched_get_priority_min
1268
1270
sched_param
1269
1271
sched_setparam
1270
1272
secure_path
Original file line number Diff line number Diff line change @@ -1040,6 +1040,8 @@ regexec
1040
1040
regfree
1041
1041
regmatch_t
1042
1042
regoff_t
1043
+ sched_get_priority_max
1044
+ sched_get_priority_min
1043
1045
seekdir
1044
1046
sem
1045
1047
sem_close
Original file line number Diff line number Diff line change @@ -4083,8 +4083,6 @@ extern "C" {
4083
4083
policy : :: c_int ,
4084
4084
param : * const sched_param ,
4085
4085
) -> :: c_int ;
4086
- pub fn sched_get_priority_min ( policy : :: c_int ) -> :: c_int ;
4087
- pub fn sched_get_priority_max ( policy : :: c_int ) -> :: c_int ;
4088
4086
pub fn thread_policy_set (
4089
4087
thread : thread_t ,
4090
4088
flavor : thread_policy_flavor_t ,
Original file line number Diff line number Diff line change @@ -768,6 +768,8 @@ extern "C" {
768
768
) ]
769
769
pub fn pthread_cancel ( thread : :: pthread_t ) -> :: c_int ;
770
770
pub fn pthread_kill ( thread : :: pthread_t , sig : :: c_int ) -> :: c_int ;
771
+ pub fn sched_get_priority_min ( policy : :: c_int ) -> :: c_int ;
772
+ pub fn sched_get_priority_max ( policy : :: c_int ) -> :: c_int ;
771
773
pub fn sem_unlink ( name : * const :: c_char ) -> :: c_int ;
772
774
#[ cfg_attr( target_os = "netbsd" , link_name = "__getpwnam_r50" ) ]
773
775
pub fn getpwnam_r (
Original file line number Diff line number Diff line change @@ -2510,6 +2510,8 @@ extern "C" {
2510
2510
pub fn sem_open ( name : * const :: c_char , oflag : :: c_int , ...) -> * mut sem_t ;
2511
2511
pub fn getgrnam ( name : * const :: c_char ) -> * mut :: group ;
2512
2512
pub fn pthread_kill ( thread : :: pthread_t , sig : :: c_int ) -> :: c_int ;
2513
+ pub fn sched_get_priority_min ( policy : :: c_int ) -> :: c_int ;
2514
+ pub fn sched_get_priority_max ( policy : :: c_int ) -> :: c_int ;
2513
2515
pub fn sem_unlink ( name : * const :: c_char ) -> :: c_int ;
2514
2516
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
2515
2517
#[ cfg_attr(
You can’t perform that action at this time.
0 commit comments