aboutsummaryrefslogtreecommitdiff
path: root/src/sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync.rs')
-rw-r--r--src/sync.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sync.rs b/src/sync.rs
new file mode 100644
index 0000000..80dec38
--- /dev/null
+++ b/src/sync.rs
@@ -0,0 +1,14 @@
+// Copyright 2020 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+mod blocking;
+mod cv;
+mod mu;
+mod spin;
+mod waiter;
+
+pub use blocking::block_on;
+pub use cv::Condvar;
+pub use mu::Mutex;
+pub use spin::SpinLock;