starnix_sync/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

//! Synchronization objects used by Starnix

mod atomic_time;
mod interruptible_event;
mod lock_ordering;
mod lock_relations;
mod lock_sequence;
mod lock_traits;
mod locks;
mod port_event;

pub use atomic_time::*;
pub use interruptible_event::*;
pub use lock_ordering::*;
pub use lock_ordering_macro::*;
pub use lock_relations::*;
pub use lock_sequence::*;
pub use lock_traits::*;
pub use locks::*;
pub use port_event::*;

// This allows lock_ordering! macro to use paths within this crate
// by referring to them by the external crate name.
extern crate self as starnix_sync;