Posts
Dealing with Mutation: Guarded Suspension
/
0 Comments
Guarded Suspension applies a unique strategy to deal with mutation. It signals when it is done with…
Performance Comparison of Condition Variables and Atomics in C++20
After the introduction to std::atomic_flag in my last post, Synchronization with Atomics in C++20, I…
Synchronization with Atomics in C++20
Sender/receiver workflows are pretty common for threads. In such a workflow, the receiver is waiting…
C++ Core Guidelines: Be Aware of the Traps of Condition Variables
Today, I am writing a scary post about condition variables. You should be aware of these issues of condition…
Thread Synchronization with Condition Variables or Tasks
In case you use promise and future to synchronize threads, they have much in common with condition variables.…
Condition Variables
Condition variables allow us to synchronize threads via notifications. So, you can implement workflows…