Module rustc_data_structures::sync::lock::maybe_sync
source · Structs
- A lock which only uses synchronization if
might_be_dyn_thread_safe
is true. It implementsDynSend
andDynSync
instead of the typicalSend
andSync
. - A guard holding mutable access to a
Lock
which is in a locked state.
Constants
- LOCKED 🔒The value representing a locked state for the
Cell
.