2024-12-16 09:29 PM - edited 2024-12-16 09:34 PM
Hello
I'm developing RTOS environment of dual-core in STM32H757.
Using the functions osThreadResume and osThreadSuspend now I'm programming the context swtiching.
Recently, I found a good approach : context switching using the functions osEventFlagWait, osEventFlagClear, and osEventFlagGet.
For the IPC(Inter-core Processing Communication) and time complexity, is the existing approach better, or is the new approach better?
# The existing approach : using osThreadResume / osThreadSuspend
# New approach : using osEventFlagWait / osEventFlagClear / osEventFlagGet
Friendly regards, Tau