about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/sync/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/unix/sync/mod.rs')
-rw-r--r--library/std/src/sys/pal/unix/sync/mod.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/sync/mod.rs b/library/std/src/sys/pal/unix/sync/mod.rs
new file mode 100644
index 00000000000..b430ff5d8ef
--- /dev/null
+++ b/library/std/src/sys/pal/unix/sync/mod.rs
@@ -0,0 +1,16 @@
+#![cfg(not(any(
+    target_os = "linux",
+    target_os = "android",
+    all(target_os = "emscripten", target_feature = "atomics"),
+    target_os = "freebsd",
+    target_os = "openbsd",
+    target_os = "dragonfly",
+    target_os = "fuchsia",
+)))]
+#![forbid(unsafe_op_in_unsafe_fn)]
+
+mod condvar;
+mod mutex;
+
+pub use condvar::Condvar;
+pub use mutex::Mutex;