• blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    Volatile means that the value should be read each time its accessed. It can’t be cached in a register or the read be otherwise assumed and optimized away or the instructions around its access be reordered.