Marvee Amasi
DIIDevHeads IoT Integration Server
•Created by UC GEE on 6/7/2024 in #middleware-and-os
developing embedded software for a dual-core mcu that is ARM Cortex-M where each core runs separate
Your thread 1 modifies the data object yh, thread 2 is also using it. You won't be able to predict it's behavior, including the callback function hanging indefinitely. When thread 1 tries to modify the data, it might find the data in an inconsistent state due to modifications by thread 2. The callback now will start to loop indefinitely, waiting for a certain state that might never stil come
5 replies