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