Expand description
Exclusive lock on the state directory.
byssusd holds the lock for its lifetime; byssus reconcile takes it for
one pass. Two writers therefore never race on the state file.
Structs§
- State
Lock - A held lock; released when dropped.
Enums§
- Lock
Error - Why the lock could not be taken.
Constants§
- LOCK_
FILE_ NAME - Lock file name within the state directory.