diff options
author | David Carlier <devnexen@gmail.com> | 2021-06-21 19:12:04 +0100 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2021-06-21 19:12:04 +0100 |
commit | 5b7b4f961145317e909bc13e1f185013eb4c2c08 (patch) | |
tree | 65acf5f74117ade320c710a8f300ab6c10fee6d3 /src/unix/bsd/freebsdlike/dragonfly/mod.rs | |
parent | 2c946006572e04bcadfa3918eb27e2daae21a227 (diff) | |
download | rust-libc-5b7b4f961145317e909bc13e1f185013eb4c2c08.tar.gz |
freebsd/dragonfly adding pthread barrier api.
Diffstat (limited to 'src/unix/bsd/freebsdlike/dragonfly/mod.rs')
-rw-r--r-- | src/unix/bsd/freebsdlike/dragonfly/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/dragonfly/mod.rs b/src/unix/bsd/freebsdlike/dragonfly/mod.rs index 8092db5705..02e7a8af06 100644 --- a/src/unix/bsd/freebsdlike/dragonfly/mod.rs +++ b/src/unix/bsd/freebsdlike/dragonfly/mod.rs @@ -27,6 +27,8 @@ pub type cpu_set_t = cpumask_t; pub type register_t = ::c_long; pub type umtx_t = ::c_int; +pub type pthread_barrierattr_t = ::c_int; +pub type pthread_barrier_t = ::uintptr_t; pub type pthread_spinlock_t = ::uintptr_t; #[cfg_attr(feature = "extra_traits", derive(Debug))] |