qrwcell 0.1.0

Read-write cell that aims to reduce the amount of blocking compared to a single read-write lock.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# qrwcell - quick read-write cell

![Crates.io](https://img.shields.io/crates/v/qrwcell)
![docs.rs](https://img.shields.io/docsrs/qrwcell)

Read-write cell that aims to reduce the amount of blocking compared to a single
read-write lock.

The cell has two slots - one for reading and one for writing. Writing alternates
the slot that is currently served to readers, thereby minimising blocking on a
reader-writer lock.

Please be aware that if a cell is not created with a value or updated at
least once attempting to get the inner value will loop forever!