Hi, I am done implementing the portYIELD_CORE(x) macro but I don’t completely get how it should be used. The inter-core signaling is currently implemented with a software generated interrupt so I need to install an handler on the cores that can receive this kind of interrupt. At this point my questions are:
Is it possible for a core to use portYIELD_CORE(x) on itself?
Can secondary cores (i.e. cores that do not handle the SysTick interrupt) use portYIELD_CORE(x)?
Yes, because a “secondary” core can unblock a task with a higher priority then the primary core is currently running, but below the priority of the task it is running, so the primary core should switch tasks.