Skip to main content
Graduate
December 17, 2024
Question

Context Switching Methods / CMSIS-RTOSv2

  • December 17, 2024
  • 0 replies
  • 557 views

 

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

    This topic has been closed for replies.