Module parking_lot::raw_mutex

source ·

Structs

  • Raw mutex type backed by the parking lot.

Constants

  • LOCKED_BIT 🔒
    This bit is set in the state of a RawMutex when that mutex is locked by some thread.
  • PARKED_BIT 🔒
    This bit is set in the state of a RawMutex just before parking a thread. A thread is being parked if it wants to lock the mutex, but it is currently being held by some other thread.