UC GEE
UC GEE
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
I am developing embedded software for a dual-core microcontroller that is ARM Cortex-M where each core runs a separate thread. ~Thread 1 (Comms): Handles communication and triggers an event system that calls a callback function. ~Thread 2 (Compute): Focuses on heavy computations and actively uses a specific data object. But the callback function modifies the same data object that Thread 2 is using, causing the callback to hang indefinitely and stall the Comms thread. So Why might the callback function invoked by Thread 1 never return if it tries to modify data currently being used by Thread 2's computations? Please Devs, l really need you guyz help on this 🙏
5 replies