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 interruptible_event;
9mod lock_ordering;
10mod lock_relations;
11mod lock_sequence;
12mod lock_traits;
13mod locks;
14mod port_event;
15
16pub use atomic_time::*;
17pub use interruptible_event::*;
18pub use lock_ordering::*;
19pub use lock_ordering_macro::*;
20pub use lock_relations::*;
21pub use lock_sequence::*;
22pub use lock_traits::*;
23pub use locks::*;
24pub use port_event::*;
25
26// This allows lock_ordering! macro to use paths within this crate
27// by referring to them by the external crate name.
28extern crate self as starnix_sync;