Module mutex

Source
🔬This is a nightly-only experimental API. (sync_poison_mod #134646)

Structs§

MappedMutexGuardExperimental
An RAII mutex guard returned by MutexGuard::map, which can point to a subfield of the protected data. When this structure is dropped (falls out of scope), the lock will be unlocked.
MutexExperimental
A mutual exclusion primitive useful for protecting shared data
MutexGuardExperimental
An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

Functions§

guard_lock
guard_poison