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 aRawMutex
when that mutex is locked by some thread. - PARKED_BIT ๐This bit is set in the
state
of aRawMutex
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 ๐