Module parking_lot::remutex
source · Structs§
- Implementation of the
GetThreadId
trait forlock_api::ReentrantMutex
.
Functions§
- Creates a new reentrant mutex in an unlocked state ready for use.
Type Aliases§
- An RAII mutex guard returned by
ReentrantMutexGuard::map
, which can point to a subfield of the protected data. - A mutex which can be recursively locked by a single thread.
- An RAII implementation of a “scoped lock” of a reentrant mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.