If you were wondering.
Performance Comparison of Condition Variables and Atomics in C++20
by Rainer Grimm
From the article:
After the introduction to std::atomic_flag in my last post Synchronization with Atomics in C++20, I want to dive deeper. Today, I create a ping-pong game using condition variables, std::atomic_flag, and std::atomic<bool>. Let's play...
Add a Comment
Comments are closed.