Skip to content
Snippets Groups Projects
Commit fbec8eb4 authored by Victor Polevoy's avatar Victor Polevoy Committed by Victor Polevoy
Browse files

Move pthread_setschedprio into the linux submodule

parent a75fef0b
No related branches found
No related tags found
No related merge requests found
......@@ -923,6 +923,8 @@ extern {
serv: *mut ::c_char,
sevlen: ::socklen_t,
flags: ::c_int) -> ::c_int;
pub fn pthread_setschedprio(native: ::pthread_t,
priority: ::c_int) -> ::c_int;
pub fn prlimit(pid: ::pid_t, resource: ::c_int, new_limit: *const ::rlimit,
old_limit: *mut ::rlimit) -> ::c_int;
pub fn prlimit64(pid: ::pid_t,
......
......@@ -962,9 +962,6 @@ extern {
pshared: ::c_int) -> ::c_int;
pub fn pthread_condattr_getpshared(attr: *const pthread_condattr_t,
pshared: *mut ::c_int) -> ::c_int;
#[cfg(not(target_os = "android"))]
pub fn pthread_setschedprio(native: ::pthread_t,
priority: ::c_int) -> ::c_int;
pub fn pthread_getschedparam(native: ::pthread_t,
policy: *mut ::c_int,
param: *mut ::sched_param) -> ::c_int;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment