Learn · CERN

Talk12 min

C++ Atomics: An Overview

Abhishek Lekshmanan · CERN

Watch At CERN

About

std::atomic introduced since C++11 is used as a building block for lock free programming. However while the default flags provide the maximum consistency; the do come with a performance penalty and may not be what you want in all cases. We will look under the hood, at a top level on what the processor sees when an atomic is encountered, the acquire and release semantics, which are fundamentally what mutexes use; and thus understand what the various memory order flags mean and when it is safe (or unsafe) to use them.

The talk

  1. C++ Atomics: An Overview 2022-03-07 · 12 min · CERN's player

Credits and licence

Institution
CERN
Department
HEP Computing
Speaker
Abhishek Lekshmanan
Year
2022
Language
English
Subjects
Computer science
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed