Skip to content
UPEEC

C Memory Model

The rules for what values threads can see when they share memory (C11).

Advanced
Comments 0

Without atomics or locks, concurrent access where one side writes is a data race — undefined behaviour.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.