Skip to main content

starnix_sync/
lib.rs

1// Copyright 2023 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5//! Synchronization objects used by Starnix
6
7mod atomic_time;
8mod condvar;
9mod interruptible_event;
10mod lock_dep_mutex;
11mod lock_ordering;
12mod lock_traits;
13mod locks;
14mod port_event;
15mod rw_seq_lock;
16mod thread_affinity;
17
18pub use atomic_time::*;
19pub use condvar::*;
20pub use interruptible_event::*;
21pub use lock_dep_mutex::*;
22pub use lock_ordering::*;
23pub use lock_ordering_macro::*;
24pub use lock_traits::*;
25pub use locks::*;
26pub use port_event::*;
27pub use rw_seq_lock::*;
28pub use thread_affinity::*;
29
30// This allows lock_ordering! macro to use paths within this crate
31// by referring to them by the external crate name.
32extern crate self as starnix_sync;