3 ms·
It gets more fun when you're dealing with things like memory mapped I/O, where reading from a register is a destructive action, so even a non-overloaded == can
by Sanddancer 10y ago
It gets more fun when you're dealing with things like memory mapped I/O, where reading from a register is a destructive action, so even a non-overloaded == can cause side effects.
- WalterBright 10y agoThat's what volatile reads are for - they indicate a side effect.