Learner’s Notes: Linux membarrier() System Call - Details of Asymmetric Fences
- While browsing through Folly’s synchronization primitives to study up on concurrency concepts, one familiar-looking name in the codebase caught my attention: Asymmetric Thread Fence.
- I already knew what std::atomic_thread_fence is meant to achieve, but what does this construct do?
- And what exactly is asymmetric about it?
Unverified
- While browsing through Folly’s synchronization primitives to study up on concurrency concepts, one familiar-looking name in the codebase caught my attention: Asymmetric Thread Fence.
- I already knew what std::atomic_thread_fence is meant to achieve, but what does this construct do?
- And what exactly is asymmetric about it?
Sources: Github