Skip to main content

Mojo module

lock

Implements thread synchronization primitives including spin locks.

This module provides low-level locking mechanisms for thread synchronization, including spin locks with blocking behavior and scoped lock guards for automatic lock management. These primitives enable safe concurrent access to shared resources in multi-threaded code.

Structs​

Was this page helpful?