UC GEE
DIIDevHeads IoT Integration Server
•Created by Sterling on 7/4/2024 in #middleware-and-os
Handling Non-Atomic Operations for 64-bit Variables on a 32-bit Non-Preemptive System
Yeah, you are right @Marvee Amasi 👍... @Sterling try to disable interrupts during the read operation to prevent the ISR from updating the variable while you're reading it.This will enable you to read either the old or new value in its entirety.
8 replies