Expand description
A simple implementation of a sequential lock. More details: https://docs.kernel.org/locking/seqlock.html
Structsยง
- SeqLock
- A simple implementation of a sequential lock. some usage of unsafe, T must be Copy
- SeqLock
Reader - The reader handle for the
SeqLock
. Multiple readers can be created for aSeqLock
. - SeqLock
Writer - The writer handle for the
SeqLock
. Only one writer exists for aSeqLock
. There is no Clone bound since we want to enforce only one writer.