Expand description
Synchronization primitives for low-latency applications.
This module provides:
Spinlock- A simple spinlock with RAII guardBarrier- Thread barrier for coordinationasm::atomic- Low-level atomic operations via inline assemblyasm::fence- Memory fences and timing utilities (RDTSC)
§Architecture
All primitives are designed for x86_64 and use cache-line alignment
to prevent false sharing. The asm submodule provides direct access
to CPU instructions for maximum performance.
Re-exports§
Modules§
- asm
- Low-level assembly primitives for
x86_64.