Module lock_api::remutex

source ·

Structs

  • An RAII mutex guard returned by ReentrantMutexGuard::map, which can point to a subfield of the protected data.
  • A raw mutex type that wraps another raw mutex to provide reentrancy.
  • 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.

Traits

  • Helper trait which returns a non-zero thread ID.