+12
-1
README.md
+12
-1
README.md
···
1
1
# Simple left right
2
2
3
3
Simpler Version of [left-right](https://crates.io/crates/left-right), which only allows one reader.
4
-
Also allows real-time safe read operations and is designed for this use-case.
4
+
Also allows real-time safe read operations and is designed for this use-case.
5
+
6
+
## Testing
7
+
This library is tested both with miri and cargo-mutants. Some tests are disabled for miri as they
8
+
leak memory or block on unlucky thread scheduling. They can be run by ignoring leaks or choosing a
9
+
threading seed that doesn't lock itself.
10
+
11
+
cargo-mutants currently has one mutation that isn't caught by the tests, because it changes a bitwise
12
+
operation to one that has the same result on the possible inputs. It also produces a couple of timeouts,
13
+
as the write locking spins forever.
14
+
15
+
PRs should keep this state as much as possible.