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
13591359regoff_t
13601360rtprio
13611361sched_getscheduler
1362+ sched_get_priority_max
1363+ sched_get_priority_min
13621364sched_param
13631365sched_setscheduler
13641366seekdir
Original file line number Diff line number Diff line change @@ -1626,6 +1626,8 @@ rtprio
16261626rtprio_thread
16271627sallocx
16281628sched_getscheduler
1629+ sched_get_priority_max
1630+ sched_get_priority_min
16291631sched_param
16301632sched_setscheduler
16311633sdallocx
Original file line number Diff line number Diff line change @@ -1265,6 +1265,8 @@ regfree
12651265regmatch_t
12661266regoff_t
12671267sched_getparam
1268+ sched_get_priority_max
1269+ sched_get_priority_min
12681270sched_param
12691271sched_setparam
12701272secure_path
Original file line number Diff line number Diff line change @@ -1040,6 +1040,8 @@ regexec
10401040regfree
10411041regmatch_t
10421042regoff_t
1043+ sched_get_priority_max
1044+ sched_get_priority_min
10431045seekdir
10441046sem
10451047sem_close
Original file line number Diff line number Diff line change @@ -4037,8 +4037,6 @@ extern "C" {
40374037 policy : :: c_int ,
40384038 param : * const sched_param ,
40394039 ) -> :: c_int ;
4040- pub fn sched_get_priority_min ( policy : :: c_int ) -> :: c_int ;
4041- pub fn sched_get_priority_max ( policy : :: c_int ) -> :: c_int ;
40424040 pub fn thread_policy_set (
40434041 thread : thread_t ,
40444042 flavor : thread_policy_flavor_t ,
Original file line number Diff line number Diff line change @@ -767,6 +767,8 @@ extern "C" {
767767 ) ]
768768 pub fn pthread_cancel ( thread : :: pthread_t ) -> :: c_int ;
769769 pub fn pthread_kill ( thread : :: pthread_t , sig : :: c_int ) -> :: c_int ;
770+ pub fn sched_get_priority_min ( policy : :: c_int ) -> :: c_int ;
771+ pub fn sched_get_priority_max ( policy : :: c_int ) -> :: c_int ;
770772 pub fn sem_unlink ( name : * const :: c_char ) -> :: c_int ;
771773 #[ cfg_attr( target_os = "netbsd" , link_name = "__getpwnam_r50" ) ]
772774 pub fn getpwnam_r (
Original file line number Diff line number Diff line change @@ -2510,6 +2510,8 @@ extern "C" {
25102510 pub fn sem_open ( name : * const :: c_char , oflag : :: c_int , ...) -> * mut sem_t ;
25112511 pub fn getgrnam ( name : * const :: c_char ) -> * mut :: group ;
25122512 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 ;
25132515 pub fn sem_unlink ( name : * const :: c_char ) -> :: c_int ;
25142516 pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
25152517 #[ cfg_attr(
You can’t perform that action at this time.
0 commit comments