File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,6 @@ extern {
598
598
newp : * const :: c_void ,
599
599
newlen : :: size_t )
600
600
-> :: c_int ;
601
- pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
602
601
pub fn sched_setscheduler ( pid : :: pid_t ,
603
602
policy : :: c_int ,
604
603
param : * const sched_param ) -> :: c_int ;
@@ -627,6 +626,15 @@ extern {
627
626
name : * mut :: c_char ,
628
627
termp : * mut termios ,
629
628
winp : * mut :: winsize ) -> :: pid_t ;
629
+
630
+ pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
631
+ pub fn pthread_attr_get_np ( tid : :: pthread_t ,
632
+ attr : * mut :: pthread_attr_t ) -> :: c_int ;
633
+ pub fn pthread_attr_getguardsize ( attr : * const :: pthread_attr_t ,
634
+ guardsize : * mut :: size_t ) -> :: c_int ;
635
+ pub fn pthread_attr_getstack ( attr : * const :: pthread_attr_t ,
636
+ stackaddr : * mut * mut :: c_void ,
637
+ stacksize : * mut :: size_t ) -> :: c_int ;
630
638
}
631
639
632
640
cfg_if ! {
You can’t perform that action at this time.
0 commit comments