Re: [PATCH 2/5] cpu: move Qemu[Thread|Cond] setup into common code

2024-06-03 Thread Philippe Mathieu-Daudé
On 30/5/24 21:42, Alex Bennée wrote: Aside from the round robin threads this is all common code. By moving the halt_cond setup we also no longer need hacks to work around the race between QOM object creation and thread creation. It is a little ugly to free stuff up for the round robin thread

Re: [PATCH 2/5] cpu: move Qemu[Thread|Cond] setup into common code

2024-05-31 Thread Reinoud Zandijk
On Thu, May 30, 2024 at 03:29:41PM -0700, Pierrick Bouvier wrote: > On 5/30/24 12:42, Alex Bennée wrote: > > Aside from the round robin threads this is all common code. By > > moving the halt_cond setup we also no longer need hacks to work around > > the race between QOM object creation and thread

Re: [PATCH 2/5] cpu: move Qemu[Thread|Cond] setup into common code

2024-05-30 Thread Pierrick Bouvier
On 5/30/24 12:42, Alex Bennée wrote: Aside from the round robin threads this is all common code. By moving the halt_cond setup we also no longer need hacks to work around the race between QOM object creation and thread creation. It is a little ugly to free stuff up for the round robin thread

[PATCH 2/5] cpu: move Qemu[Thread|Cond] setup into common code

2024-05-30 Thread Alex Bennée
Aside from the round robin threads this is all common code. By moving the halt_cond setup we also no longer need hacks to work around the race between QOM object creation and thread creation. It is a little ugly to free stuff up for the round robin thread but better it deal with its own