IT lexicon › Programming › Inter-thread Actions

Inter-thread Actions

Programming På svenska → Updated: 2026-11-16

Memory operations with visibility across thread boundaries, such as atomic operations and volatile accesses, defined in the memory model.

Ordinary loads and stores are only guaranteed within a single thread — other threads may see them late or never. Inter-thread actions are special: atomics, volatiles, barriers, locks. These are what the memory model defines global ordering rules for. Everything else is a data race if multiple threads write without synchronization.

← Back to the lexicon