Image for TSO (Total Store Ordering)

TSO (Total Store Ordering)

Total Store Ordering (TSO) is a memory consistency model used in computer systems to ensure that multiple processors or cores see memory operations (like reads and writes) in a consistent order. Under TSO, write operations from any processor are made visible to others in the exact order they were issued, preventing certain types of reordering that could cause confusion or errors. This makes it easier for programmers to reason about concurrent processes, as they can assume that their memory updates will be observed in a predictable, sequential manner across different parts of the system.