Module epaint::mutex [−][src]
Expand description
Helper module that wraps some Mutex types with different implementations.
When the single_threaded
feature is on the mutexes will panic when locked from different threads.
Structs
Provides interior mutability. Only thread-safe if the multi_threaded
feature is enabled.
The lock you get from Mutex
.
Provides interior mutability. Only thread-safe if the multi_threaded
feature is enabled.
The lock you get from RwLock::read
.
The lock you get from RwLock::write
.