xod/mutex@0.31.1

License: AGPL-3.0

Library to work with mutually exclusive resources. Useful to avoid conflicts between nodes controlling long-running processes.
NodeDescription
mutex
Describes a mutually exclusive resource. Used to avoid conflicts between nodes controlling long-running processes. No two processes may lock a mutex at the same time.
mutex-break
Forces mutex release/unlock regardless of who owns it currently.
mutex-gate
Locks/unlocks a mutex and passes/rejects pulses through itself depending on the mutex lock state
mutex-state
Locks/unlocks a mutex and exposes its activity state. Useful to create state machines.