File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -784,6 +784,7 @@ fn test_solarish(target: &str) {
784
784
"sys/wait.h" ,
785
785
"syslog.h" ,
786
786
"termios.h" ,
787
+ "thread.h" ,
787
788
"time.h" ,
788
789
"ucontext.h" ,
789
790
"unistd.h" ,
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ pub type socklen_t = ::c_uint;
35
35
pub type sa_family_t = u16 ;
36
36
pub type pthread_t = :: c_uint ;
37
37
pub type pthread_key_t = :: c_uint ;
38
+ pub type thread_t = :: c_uint ;
38
39
pub type blksize_t = :: c_int ;
39
40
pub type nl_item = :: c_int ;
40
41
pub type mqd_t = * mut :: c_void ;
@@ -2594,6 +2595,7 @@ extern "C" {
2594
2595
buflen : :: size_t ,
2595
2596
result : * mut * mut :: group ,
2596
2597
) -> :: c_int ;
2598
+ pub fn thr_self ( ) -> :: thread_t ;
2597
2599
pub fn pthread_sigmask ( how : :: c_int , set : * const sigset_t , oldset : * mut sigset_t ) -> :: c_int ;
2598
2600
pub fn sem_open ( name : * const :: c_char , oflag : :: c_int , ...) -> * mut sem_t ;
2599
2601
pub fn getgrnam ( name : * const :: c_char ) -> * mut :: group ;
You can’t perform that action at this time.
0 commit comments