False Sharing

This lesson gives an overview of a false sharing problem which might occur during the implementation of concurrency in C++.

We'll cover the following...

When a processor reads a variable such as an int from main memory, it will read more than the size of an int from memory; the processor will read an entire cache line (typically 64 bytes) from memory. False sharing occurs ...