File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -598,6 +598,14 @@ 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
+ pub fn pthread_setschedprio ( native : :: pthread_t ,
608
+ priority : :: c_int ) -> :: c_int ;
601
609
pub fn pthread_attr_init ( attr : * mut :: pthread_attr_t ) -> :: c_int ;
602
610
pub fn pthread_attr_destroy ( attr : * mut :: pthread_attr_t ) -> :: c_int ;
603
611
pub fn pthread_attr_setstacksize ( attr : * mut :: pthread_attr_t ,
You can’t perform that action at this time.
0 commit comments