• blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    1
    ·
    7 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.