3 ms·
Just disable interrupts while accessing shared data, it's two instructions and the critical section should not be long.
by pantalaimon 6y ago
Just disable interrupts while accessing shared data, it's two instructions and the critical section should not be long.
- alexhutcheson 6y agoIt has two cores, so I don’t believe disabling interrupts would be sufficient unless you’re only using one core.