One if by latch, two if by barrier:
C++20 Concurrency: Barrier
by Gajendra Gulgulia
From the article:
In this article, I’ll present a simple example of
std::barrier
by means of game players playing a hypothetical card game and go into the details of the api ofstd::barrier
in another article...
Add a Comment
Comments are closed.