#[deny(clippy::missing_const_for_fn)]
mod timed;
pub mod timer;
mod untimed;
pub use timed::*;
use timer::TimerDuration;
pub use untimed::*;
pub trait Lock {
fn is_locked(&self) -> bool;
fn lock(&self);
fn try_lock(&self) -> bool;
fn unlock(&self);
fn wait_here(&self);
fn wait_here_for(&self, timeout: TimerDuration);
fn wait_here_for_ms(&self, timeout_ms: u64);
}