concurrent, realtime write data structure.
1# Realtime write lock
2
3This is a concurrent, realtime data structure. The write locking is always nonblocking, while read locking may block.
4It is useful for communicating data from a realtime thread (for example the audio thread) to a non realtime thread
5(for example the GUI thread). The Data should always be replaced completely, not updated incrementally.
6
7If the writer thread is the non realtime thread and reading should be nonblocking take a look at my other library
8[simple-left-right](https://crates.io/crates/simple-left-right). The implementation is similar, but the roles are reversed.
9
10Hosted on [tangled](https://tangled.org/did:plc:54jgbo4psy24qu2bk4njtpc4/rt-write-lock/), [codeberg](https://codeberg.org/increasing/rt-write-lock)
11and [github](https://github.com/luca3s/rt-write-lock). Open a PR or issue on any platform you like.
12
13## std::mem::forget
14The library tries to detect if a Read/Write guard is forgotten and panics. Without this detection this could lead to UB.