cancel
Showing results for 
Search instead for 
Did you mean: 

Context Switching Methods / CMSIS-RTOSv2

StrangeTau
Associate III

 

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

0 REPLIES 0