File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -598,12 +598,6 @@ extern {
598
598
parent : Option < unsafe extern fn ( ) > ,
599
599
child : Option < unsafe extern fn ( ) > ) -> :: c_int ;
600
600
pub fn pthread_exit ( value : * mut :: c_void ) ;
601
- pub fn pthread_getschedparam ( native : :: pthread_t ,
602
- policy : * mut :: c_int ,
603
- param : * mut :: sched_param ) -> :: c_int ;
604
- pub fn pthread_setschedparam ( native : :: pthread_t ,
605
- policy : :: c_int ,
606
- param : * const :: sched_param ) -> :: c_int ;
607
601
pub fn pthread_setschedprio ( native : :: pthread_t ,
608
602
priority : :: c_int ) -> :: c_int ;
609
603
pub fn pthread_attr_init ( attr : * mut :: pthread_attr_t ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -962,6 +962,12 @@ extern {
962
962
pshared : :: c_int ) -> :: c_int ;
963
963
pub fn pthread_condattr_getpshared ( attr : * const pthread_condattr_t ,
964
964
pshared : * mut :: c_int ) -> :: c_int ;
965
+ pub fn pthread_getschedparam ( native : :: pthread_t ,
966
+ policy : * mut :: c_int ,
967
+ param : * mut :: sched_param ) -> :: c_int ;
968
+ pub fn pthread_setschedparam ( native : :: pthread_t ,
969
+ policy : :: c_int ,
970
+ param : * const :: sched_param ) -> :: c_int ;
965
971
pub fn sched_getaffinity ( pid : :: pid_t ,
966
972
cpusetsize : :: size_t ,
967
973
cpuset : * mut cpu_set_t ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments