Skip to main content

Module sync

Module sync 

Source
Expand description

Synchronization primitives for tipc-std.

Provides multi-thread-safe Mutex, OnceLock, and LazyLock using atomics, suitable for both x-kernel and LK environments.

Structsยง

LazyLock
A synchronization primitive for lazy initialization.
Mutex
A mutual exclusion primitive based on AtomicBool spinlock.
MutexGuard
A guard that provides access to the data protected by a Mutex.
OnceLock
A synchronization primitive for one-time initialization.
PoisonError
Error type for source-level compatibility with std::sync::PoisonError.