...

/

Overview of Latches and Barriers

Overview of Latches and Barriers

Get a brief introduction to 'std::barrier' and 'std::latch' in C++20.

We'll cover the following...

Latches and barriers are coordination types that enable some threads to block until a counter becomes zero. In C++20 we get latches and barriers in two variations: std::latch and std::barrier. Concurrent invocations of the member functions of ...