mutex library
Mutex for locks in a single Isolate, or across isolates.
Classes
- Mutex
- SerializedMutex
- Serialized version of a Mutex, can be passed over to different isolates. Use open to get a SharedMutex instance.
- Mutex instantiated from a source mutex, potentially in a different isolate.
- SimpleMutex
- Mutex maintains a queue of Future-returning functions that are executed sequentially. The internal lock is not shared across Isolates by default.