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.
  • TOKEN_HANDOFF ๐Ÿ”’
  • TOKEN_NORMAL ๐Ÿ”’