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_relations;
13mod lock_sequence;
14mod lock_traits;
15mod locks;
16mod port_event;
17mod rw_seq_lock;
18mod thread_affinity;
19
20pub use atomic_time::*;
21pub use condvar::*;
22pub use interruptible_event::*;
23pub use lock_dep_mutex::*;
24pub use lock_ordering::*;
25pub use lock_ordering_macro::*;
26pub use lock_relations::*;
27pub use lock_sequence::*;
28pub use lock_traits::*;
29pub use locks::*;
30pub use port_event::*;
31pub use rw_seq_lock::*;
32pub use thread_affinity::*;
33
34// This allows lock_ordering! macro to use paths within this crate
35// by referring to them by the external crate name.
36extern crate self as starnix_sync;