Module phaser

Source
Expand description

Support module for WriterReaderPhaser and related structs.

See the documentation of the WriterReaderPhaser struct for more information.

Structs§

PhaserCriticalSection
Guard struct that represents a “writer critical section” for a WriterReaderPhaser.
PhaserReadLock
Guard struct for a WriterReaderPhaser that allows a reader to perform a “phase flip”.
WriterReaderPhaser
A synchronization primitive that allows for multiple concurrent wait-free “writer critical sections” and a “reader phase flip” that can wait for all currently-active writers to finish.