Module parking_lot::mutex
source · Functions§
- Creates a new mutex in an unlocked state ready for use.
Type Aliases§
- An RAII mutex guard returned by
MutexGuard::map
, which can point to a subfield of the protected data. - A mutual exclusion primitive useful for protecting shared data
- An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.