Representing Two Workers by Interleavable Steps
A model of concurrent work should specify which steps are atomic and which can be ordered differently between workers.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a schematic counter
Two workers can both read ten before either stores eleven when reads and writes are separate steps. An atomic increment removes that particular abstract interleaving. See shared counter interleavings.
Check the real primitive
The simplified model only supports claims that match the implementation's allowed behavior. Program state transitions help state exactly what each modeled action changes.[1]