Module mutex
Structs
-
MappedMutexGuard
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. - Mutex A mutual exclusion primitive useful for protecting shared data that does not keep track of lock poisoning.
- MutexGuard 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
For use in
nonpoison::condvar.