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

Ғылым және технология

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.

Пікірлер: 4

  • @mehtubbhai9709
    @mehtubbhai97094 ай бұрын

    This is a fantastic presentation on the memory model and concurrency primitives. The analogies really brought the concepts home. I never knew that synchronization primitives could be explained by a holiday trip :) Thanks Jana!

  • @paxdriver
    @paxdriver4 ай бұрын

    Jana, please keep giving this talk. It'll get easier every time, don't worry lol very well done 👏

  • @SamWhitlock
    @SamWhitlock4 ай бұрын

    I was a bit skeptical at first, but this analogy she used through whole presentation is actually a great way to present this!

  • @marsob9038
    @marsob90383 ай бұрын

    does this apply also to userland(green) threads - like in boost fiber ?

Келесі