Module synchronoise::phaser

source ·
Expand description

Support module for WriterReaderPhaser and related structs.

See the documentation of the WriterReaderPhaser struct for more information.

Structs§

  • Guard struct that represents a “writer critical section” for a WriterReaderPhaser.
  • Guard struct for a WriterReaderPhaser that allows a reader to perform a “phase flip”.
  • 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.