summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/dragonfly/mod.rs
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-06-21 19:12:04 +0100
committerDavid Carlier <devnexen@gmail.com>2021-06-21 19:12:04 +0100
commit5b7b4f961145317e909bc13e1f185013eb4c2c08 (patch)
tree65acf5f74117ade320c710a8f300ab6c10fee6d3 /src/unix/bsd/freebsdlike/dragonfly/mod.rs
parent2c946006572e04bcadfa3918eb27e2daae21a227 (diff)
downloadrust-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.rs2
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))]