File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1323,6 +1323,7 @@ extern "C" {
13231323 attr : * mut pthread_condattr_t ,
13241324 pshared : :: c_int ,
13251325 ) -> :: c_int ;
1326+ pub fn pthread_main_np ( ) -> :: c_int ;
13261327 pub fn pthread_mutex_timedlock (
13271328 lock : * mut pthread_mutex_t ,
13281329 abstime : * const :: timespec ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub type idtype_t = ::c_int;
88pub type mqd_t = :: c_int ;
99type __pthread_spin_t = __cpu_simple_lock_nv_t ;
1010pub type vm_size_t = :: uintptr_t ;
11+ pub type lwpid_t = :: c_uint ;
1112
1213impl siginfo_t {
1314 pub unsafe fn si_value ( & self ) -> :: sigval {
@@ -1714,6 +1715,8 @@ extern "C" {
17141715 flags : :: c_int ,
17151716 timeout : * mut :: timespec ,
17161717 ) -> :: c_int ;
1718+
1719+ pub fn _lwp_self ( ) -> lwpid_t ;
17171720}
17181721
17191722#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments