Hi, I'm looking for a mechanism for cores' synchronization. I was thinking of synchronizing cores using interrupt inter-core. A core is in busy wait on a memory location in cache and it waits for an interrupt whose interrupt routine will unlock the core by changing the value of the location mentioned before. How can I do it?
"core is in busy wait on a memory location in cache and it waits for an interrupt" Can you please provides more details of that core state. How it is implemented?
I'm looking for a mechanism for implementing that. We can think to a core waiting in spinning on a variable blocked in its cache (so that the spinning does not interfere with other cores), waiting for an interrupt that will change its value, thus unlocking the core. I saw from the reference manual there is the possibility to use IPT (interpocessor interrupt)