Learn Useful Bidirectional Fences In Modern Multi-threading C++ Apps
September 1, 2023
C++11 improved the support for bidirectional fences in multi-thread applications. In modernC++ development,Fencesare synchronization primitives in multi-threading operations, they are memory barriers in threads, and they can acquire semantics, release semantics, or both. In this post, we explain what are fences and how we can use them.
What are bidirectional fences in…