Are you familiar with it?
Synchronization with Atomics in C++20
by Rainer Grimm
From the article:
Sender/receiver workflows are quite common for threads. In such a workflow, the receiver is waiting for the sender's notification before it continues to work. There are various ways to implement these workflows. With C++11, you can use condition variables or promise/future pairs; with C++20, you can use atomics...
Add a Comment
Comments are closed.