fl42v to Programmer Humor@programming.dev · 10 months agoYou can certainly change it. But should you?imagemessage-square58fedilinkarrow-up1538arrow-down18
arrow-up1530arrow-down1imageYou can certainly change it. But should you?fl42v to Programmer Humor@programming.dev · 10 months agomessage-square58fedilink
minus-squareblackstrat@lemmy.fwgx.uklinkfedilinkarrow-up4·10 months agoVolatile 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.
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.