Loading…
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.

Speakers
avatar for Rainer Grimm

Rainer Grimm

Trainer, Modernes C++
Rainer works as a software architect, team lead, and instructor since 1999. In 2002, he created a further education round at his company. He gives seminars since 2002. Rainer's first seminars were about proprietary management software, but seminars for Python and C++ followed immediately... Read More →


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