File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 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) {
784784 "sys/wait.h" ,
785785 "syslog.h" ,
786786 "termios.h" ,
787+ "thread.h" ,
787788 "time.h" ,
788789 "ucontext.h" ,
789790 "unistd.h" ,
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ pub type socklen_t = ::c_uint;
3535pub type sa_family_t = u16 ;
3636pub type pthread_t = :: c_uint ;
3737pub type pthread_key_t = :: c_uint ;
38+ pub type thread_t = :: c_uint ;
3839pub type blksize_t = :: c_int ;
3940pub type nl_item = :: c_int ;
4041pub type mqd_t = * mut :: c_void ;
@@ -2594,6 +2595,7 @@ extern "C" {
25942595 buflen : :: size_t ,
25952596 result : * mut * mut :: group ,
25962597 ) -> :: c_int ;
2598+ pub fn thr_self ( ) -> :: thread_t ;
25972599 pub fn pthread_sigmask ( how : :: c_int , set : * const sigset_t , oldset : * mut sigset_t ) -> :: c_int ;
25982600 pub fn sem_open ( name : * const :: c_char , oflag : :: c_int , ...) -> * mut sem_t ;
25992601 pub fn getgrnam ( name : * const :: c_char ) -> * mut :: group ;
You can’t perform that action at this time.
0 commit comments