File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1323,6 +1323,7 @@ extern "C" {
1323
1323
attr : * mut pthread_condattr_t ,
1324
1324
pshared : :: c_int ,
1325
1325
) -> :: c_int ;
1326
+ pub fn pthread_main_np ( ) -> :: c_int ;
1326
1327
pub fn pthread_mutex_timedlock (
1327
1328
lock : * mut pthread_mutex_t ,
1328
1329
abstime : * const :: timespec ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub type idtype_t = ::c_int;
8
8
pub type mqd_t = :: c_int ;
9
9
type __pthread_spin_t = __cpu_simple_lock_nv_t ;
10
10
pub type vm_size_t = :: uintptr_t ;
11
+ pub type lwpid_t = :: c_uint ;
11
12
12
13
impl siginfo_t {
13
14
pub unsafe fn si_value ( & self ) -> :: sigval {
@@ -1714,6 +1715,8 @@ extern "C" {
1714
1715
flags : :: c_int ,
1715
1716
timeout : * mut :: timespec ,
1716
1717
) -> :: c_int ;
1718
+
1719
+ pub fn _lwp_self ( ) -> lwpid_t ;
1717
1720
}
1718
1721
1719
1722
#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments