All challenges
Multiple ChoiceBeginner 45s

std::latch vs Barrier

What distinguishes std::latch from std::barrier?
Options
  1. 1latch is reusable across multiple phases; barrier is single-use
  2. 2They are identical, only names differ
  3. 3latch requires an executor; barrier does not
  4. 4latch is a single-use countdown; barrier is reusable across phases

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle