Module parking_lot::remutex

source ·

Structs§

  • Implementation of the GetThreadId trait for lock_api::ReentrantMutex.

Functions§

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.