Accessing Variable from Either ESP32 Core
Posted: Tue Jan 05, 2021 8:35 pm
So, if I have a volatile integer variable (say a uint32_t or int16_t), can I safely access it at any time and asynchronously from either core without taking any special precautions?
I assume that anything bigger than a 32-bit variable would be non-atomic and require some type of mutual exclusion.
I assume that anything bigger than a 32-bit variable would be non-atomic and require some type of mutual exclusion.