logo

Module r3::sync::mutex

source · []
This is supported on crate feature sync only.

Structs

The definer (static builder) for StaticMutex.

A mutual exclusion primitive useful for protecting shared data from concurrent access.

An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped, the lock will be released.

Enums

Type Definitions

Type alias for the result of GenericMutex::lock.

A defined (statically created) GenericMutex.

Type alias for the result of GenericMutex::try_lock.