On 12/06/2015 18:38, Alex Züpke wrote: > CPU #0 CPU #1 > ====== ====== > ... other stuff ... WFI (wait for interrupt, like x86 "HLT") > send SGI in MPCore > polls for completeness > <time passes ...> > polls ... > <... and passes ...> > still polls ... > <... and passes ...> > still polls ... > <... and passes ...>
Shouldn't CPU#0 do a WFE here? That would work too. Considering that sooner or later we'll have true multithreaded emulation, putting a hack doesn't sound like a great prospect. Paolo