Module tokio::sync::barrier

source ·

Structs§

  • A barrier enables multiple tasks to synchronize the beginning of some computation.
  • A BarrierWaitResult is returned by wait when all tasks in the Barrier have rendezvoused.