Skip to main content

Module spinlock

Module spinlock 

Source
Expand description

Synchronization primitives.

Structsยง

RwSpinLock
A busy-waiting reader-writer lock.
RwSpinLockReadGuard
A guard that releases a read lock when dropped.
RwSpinLockWriteGuard
A guard that releases a write lock when dropped.
RwSpinLocked
Protects a value with a busy-waiting reader-writer lock.
SpinLock
A mutual exclusion primitive, facilitating busy-waiting.
SpinLockGuard
A guard that releases the SpinLock when dropped.
SpinLocked
A mutual exclusion primitive that allows at most one thread to access a resource at a time.