diff options
author | bors <bors@rust-lang.org> | 2019-09-28 09:51:00 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2019-09-28 09:51:00 +0000 |
commit | ff63cb517872d95bdba9960d4d200d024c1805a0 (patch) | |
tree | 0bffe1008ac556df8b63ec5ba0c177f961dadd14 /src/unix/bsd/freebsdlike/mod.rs | |
parent | f6ed4e01e02139dae2efb336c45b657fdec6cf6c (diff) | |
parent | 36a92d5278fa1b908632ea3bcaafec7b2ef0a102 (diff) | |
download | rust-libc-ff63cb517872d95bdba9960d4d200d024c1805a0.tar.gz |
Auto merge of #1533 - murarth:bsd-pthread-main-np, r=asomers
Add `pthread_main_np` to FreeBSD-like and `_lwp_self` to NetBSD
Diffstat (limited to 'src/unix/bsd/freebsdlike/mod.rs')
-rw-r--r-- | src/unix/bsd/freebsdlike/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs index cfb8a4e169..1b7804cb27 100644 --- a/src/unix/bsd/freebsdlike/mod.rs +++ b/src/unix/bsd/freebsdlike/mod.rs @@ -1323,6 +1323,7 @@ extern "C" { attr: *mut pthread_condattr_t, pshared: ::c_int, ) -> ::c_int; + pub fn pthread_main_np() -> ::c_int; pub fn pthread_mutex_timedlock( lock: *mut pthread_mutex_t, abstime: *const ::timespec, |