Commit 960bc89
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 e9f66fe commit 960bc89
File tree
2 files changed
+209
-69
lines changed- crates
- matrix-sdk-common/src
- matrix-sdk/src/encryption
2 files changed
+209
-69
lines changed
0 commit comments