Skip to content
0:00 / 0:00

#c++#memorymodel#atomics

Memory Model: Get your shared data under control - Jana Machutová - Meeting C++ 2023

Meeting Cpp

38K subscribers • 32 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on Meeting C++, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Jana Machutová

Intermediate. Assumes working knowledge.

18K views2 years ago

Programming languagesSystems programmingC++Concurrency and parallelismMemory management

Jana Machutová introduces the C++ memory model and demonstrates how to synchronize shared data using mutexes and atomics.

Memory Model: Get your shared data under control - Jana Machutová - Meeting C++ 2023 Come to this talk to understand the C++ memory model and learn about shared data synchronization challenges and their solutions. You will find out how to use mutexes and atomics in illustrative examples. Sharing data in multi-thread programming may be tricky and there is plenty of options on how to deal with it. You should always go for the simplest possible scenario to not end up in trouble. In this talk, I will introduce common techniques available in C++. We will go through different examples to demonstrate how to use mutexes and atomics and I will show you how to simplify your code to involve as few critical points as possible.

Why it's here

A top upload from a listed channel

Meeting C++ is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.