Module lock

Source
Expand description

This module implements a lock which only uses synchronization if might_be_dyn_thread_safe is true. It implements DynSend and DynSync instead of the typical Send and Sync traits.

Structs§

Lock
A lock which only uses synchronization if might_be_dyn_thread_safe is true. It implements DynSend and DynSync instead of the typical Send and Sync.
LockGuard
A guard holding mutable access to a Lock which is in a locked state.

Enums§

Mode

Constants§

LOCKED 🔒
The value representing a locked state for the Cell.

Unions§

ModeUnion 🔒