File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,8 @@ extern {
923
923
serv : * mut :: c_char ,
924
924
sevlen : :: socklen_t ,
925
925
flags : :: c_int ) -> :: c_int ;
926
+ pub fn pthread_setschedprio ( native : :: pthread_t ,
927
+ priority : :: c_int ) -> :: c_int ;
926
928
pub fn prlimit ( pid : :: pid_t , resource : :: c_int , new_limit : * const :: rlimit ,
927
929
old_limit : * mut :: rlimit ) -> :: c_int ;
928
930
pub fn prlimit64 ( pid : :: pid_t ,
Original file line number Diff line number Diff line change @@ -962,9 +962,6 @@ 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
- #[ cfg( not( target_os = "android" ) ) ]
966
- pub fn pthread_setschedprio ( native : :: pthread_t ,
967
- priority : :: c_int ) -> :: c_int ;
968
965
pub fn pthread_getschedparam ( native : :: pthread_t ,
969
966
policy : * mut :: c_int ,
970
967
param : * mut :: sched_param ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments