Module seqlock

Source
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
SeqLockReader
The reader handle for the SeqLock. Multiple readers can be created for a SeqLock.
SeqLockWriter
The writer handle for the SeqLock. Only one writer exists for a SeqLock. There is no Clone bound since we want to enforce only one writer.