3 ms·
On an 8-bit system with 16-bit-wide ints, i++ is almost certainly not atomic (with respect to threads, interrupts, etc.). A few months ago I fixed this exact b
by kabdib 15y ago
On an 8-bit system with 16-bit-wide ints, i++ is almost certainly not atomic (with respect to threads, interrupts, etc.).
A few months ago I fixed this exact bug in a developer's code, on a 8-bit embedded processor.