Skip to content

Commit 1889f8c

Browse files
committed
feat(common): Detect when the cross-process lock has been dirtied.
This patch detects when the cross-process lock has been dirtied. A new `CrossProcessLockResult` enum is introduced to simplify the returned value of `try_lock_once` and `spin_lock`. It flattens the previous `Result<Option<_>>` by providing 3 variants: `Clean`, `Dirty` and `Unobtained`.
1 parent b24fdc5 commit 1889f8c

File tree

2 files changed

+209
-69
lines changed

2 files changed

+209
-69
lines changed

0 commit comments

Comments
 (0)