2 ms·
The name makes a bit of sense, in the sense that once it's signaled, it stays that way. So the signaled state is latched. This contrasts to std::barrier which
by magicalhippo 6y ago
The name makes a bit of sense, in the sense that once it's signaled, it stays that way. So the signaled state is latched.
This contrasts to std::barrier which auto-resets once signaled[1].
As such I think it would be better if they had called it std::latched_barrier or similar.
[1]: https://en.cppreference.com/w/cpp/thread/barrier https://en.cppreference.com/w/cpp/thread/barrier