#[allow(dead_code)]
pub(crate) mod critical_mutex;
pub(crate) mod critical_section;
mod mutex;
mod semaphore;
pub use mutex::{Mutex, MutexGuard};
pub use semaphore::{Semaphore, SemaphorePermit};
pub enum Error {
WouldBlock,
TimeOut,
Poisoned,
OutOfMemory,
}