We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Safety: off --- How not to shoot yourself in the foot with C++ atomics

Formal Metadata

Title
Safety: off --- How not to shoot yourself in the foot with C++ atomics
Title of Series
Number of Parts
96
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
If you're writing multithreaded code, it is tempting to use atomics to optimize the inter-thread synchronization and access to shared state. However, this is not always easy, and can all too often lead to code that appears to work but is subtly broken. I will show tools and techniques for using atomics safely in C++, as well as discussing scalability and lock-freedom.