CppCon 2019 has ended
Back To Schedule
Tuesday, September 17 • 15:15 - 16:15
Back to Basics: Atomics, Locks, and Tasks (part 2 of 2)

Log in to save this to your schedule, view media, leave feedback and see who's attending!

The history of concurrent programming in C++ is short. It began in 2011. At first peek, C++11, and later C++-standards support only the abstractions for library developers but not for application developers.
But the second view gives more details. Using the right techniques and the right abstraction make it possible to use the concurrent features safely.

This class shows you the safe way:

- How you can use atomics for simple jobs.
- How locks help to master shared state without the inherent danger of mutexes.
- How tasks are a significant improvement to threads and are part of the future and not of the past. Tasks allow you to
* share state without the need of synchronisation.
* manage values, notifications, and exceptions in a concurrent environment.
* create producer/consumer workflows without the highly error-prone condition variables.
- How to use concurrency in a declarative style with the parallel STL.

avatar for Rainer Grimm

Rainer Grimm

C++ trainer, Modernes C++
I've worked as a software architect, team lead, and instructor since 1999. In 2002, I created company-intern meetings for further education. I have given training courses since 2002. My first tutorials were about proprietary management software, but I began teaching Python and C... Read More →

Tuesday September 17, 2019 15:15 - 16:15 MDT
Aurora A
  Back to Basics