std::latch
Get detailed information on std::latch.
We'll cover the following...
Now, let us have a closer look at the interface of a std::latch.
| Member function | Description |
|---|---|
lat.count_down(upd = 1) |
Atomically decrements the counter by upd without blocking the caller. |
lat.try_wait() |
Returns true if counter == 0. |
Ask