Latches in C++ 20 concurrency - just like the CountdownLatch of Java concurrency package...
Multithreaded programming is inherently difficult. One of the reasons is that we can't have control over how a thread will start and finish, in which order - it all depends upon the thread scheduling
som-itsolutions.hashnode.dev4 min read