Module sync::mutexExperimental
[-]
[+]
[src]
A simple native mutex implementation. Warning: this API is likely to change soon.
Structs
| Guard | An RAII implementation of a "scoped lock" of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked. |
| Mutex | A mutual exclusion primitive useful for protecting shared data |
| StaticMutex | The static mutex type is provided to allow for static allocation of mutexes. |
Constants
| BLOCKED | |
| LOCKED | |
| MUTEX_INIT | Static initialization of a mutex. This constant can be used to initialize other mutex constants. |