Skip to main content

Mutex

Type Alias Mutex 

Source
pub type Mutex<T> = Mutex<NoxuRawMutex, T>;
Expand description

Re-export of the synchronization primitive that appears in this crate’s public API. SecondaryDatabase::open takes the primary database wrapped in Arc<Mutex<Database>>; this re-export lets callers name that Mutex (and its guard) without depending on the internal noxu-sync crate directly — reachable as noxu::Mutex through the umbrella. Mutual exclusion primitive backed by a futex.

Drop-in replacement for parking_lot::Mutex<T>.

Aliased Type§

pub struct Mutex<T> { /* private fields */ }