[−][src]Module concread::cowcell
CowCell - A concurrently readable cell with Arc
A CowCell can be used in place of a RwLock
. Readers are guaranteed that
the data will not change during the lifetime of the read. Readers do
not block writers, and writers do not block readers. Writers are serialised
same as the write in a RwLock.
This is the Arc
collected implementation. Arc
is slightly slower than EbrCell
but has better behaviour with very long running read operations, and more
accurate memory reclaim behaviour.
Structs
CowCell | A conncurrently readable cell. |
CowCellReadTxn | A |
CowCellWriteTxn | A |