Module agb::sync

source ·
Expand description

A module containing functions and utilities useful for synchronizing state.

Structs

A helper type that ensures a particular value is only initialized once.
A mutex that protects an object from being accessed in both an IRQ and normal code at once.
A guard representing an active lock on an Mutex.
A mutex that prevents code from running in both an IRQ and normal code at the same time.
A guard representing an active lock on an RawMutex.
A helper that implements static variables.

Functions

Marks that a pointer is read without actually reading from this.
Marks that a pointer is read or written to without actually writing to it.