...

/

Transactional Memory - An Overview

Transactional Memory - An Overview

This lesson gives an outline of transactional memory, predicted to be introduced in C++20.

We'll cover the following...

Transactional memory is based on the idea of a transaction from database theory. Transactional memory makes working with threads a lot easier for two reasons: first, data races and deadlocks disappear; second, transactions are composable.

A transaction is an action that has the following properties: ...