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

Move pthread_setschedprio to not-bsd

parent 84c20a1c
No related branches found
No related tags found
No related merge requests found
......@@ -598,8 +598,6 @@ extern {
parent: Option<unsafe extern fn()>,
child: Option<unsafe extern fn()>) -> ::c_int;
pub fn pthread_exit(value: *mut ::c_void);
pub fn pthread_setschedprio(native: ::pthread_t,
priority: ::c_int) -> ::c_int;
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t,
......
......@@ -962,6 +962,8 @@ extern {
pshared: ::c_int) -> ::c_int;
pub fn pthread_condattr_getpshared(attr: *const pthread_condattr_t,
pshared: *mut ::c_int) -> ::c_int;
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