Tool/software:
Hi,
I am running two applications on Core 0 and Core 2 under lockstep mode.
On Core 2, the program lock the spinlock 0 at the beginning and unlock it after finish initialisation work.
On Core 0, it is keep checking spinlock 0 from the start, when the spinlock 0 is free, it starts do initialisation.
The question is that I found after Core 2 free the spinlock, the Core 0 still wait for about 9ms, then start to run.
Is this normal? or can someone explain why it works like this?
See this picture
Green is Core 0 and Orange is Core 2
1: bootlaoder release Cores
2: Core 2 lock spinlock and start to run
3: Core 0 start to check spinlock
4: Core 2 free spinlock
5: Core 0 get spinlock and start to run
There are about 9ms between point 4 to point 5.