Rainer Grimm personal blog

Latches in C++20

Latches and barriers are coordination types that enable some threads to wait until a counter becomes zero. You can use a std::latch only once, but you can use a std::barrier more than once. Today, I have a closer look at latches.
Points
106
HN comments
83
Submissions
1
Cited by
0 commenters

Programming LanguagesSystems & Performance2021

On Hacker News

SubmittedTitle on HNPointsComments
Jan 25, 2021Latches in C++20 by ibobev10683

More from Rainer Grimm

All 5 posts →

Related posts from the same era