ruspiro_lock/sync/mod.rs
1/***********************************************************************************************************************
2 * Copyright (c) 2020 by the authors
3 *
4 * Author: André Borrmann <pspwizard@gmx.de>
5 * License: Apache License 2.0 / MIT
6 **********************************************************************************************************************/
7
8//! # Sync Locking
9//!
10//!
11
12mod spinlock;
13#[doc(inline)]
14pub use spinlock::*;
15
16// re-export the semaphore
17mod semaphore;
18#[doc(inline)]
19pub use semaphore::*;
20
21// re-export the data-lock
22mod mutex;
23#[doc(inline)]
24pub use mutex::*;
25
26// re-export the data read/write lock
27mod rwlock;
28pub use rwlock::*;