qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] Introduce foreach_cpu shorthand


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [PATCH] Introduce foreach_cpu shorthand
Date: Thu, 5 Jun 2008 02:26:42 +0100
User-agent: KMail/1.9.9

[foreach_cpu]
> > I tend to dislike such macros...
>
> Why?

I agree with Fabrice in this case. Iterating over all cpus isn't a 
particularly onerous task to start with. Using bizarre macros means that the 
code no longer looks like normal C.

> My debugger SMP fix already comes with 5 more use cases.

I'm unconvinced by SMP debugger support. FSF gdb isn't currently capable of 
handling SMP targets, so whatever you're doing is likely to be an ugly hack.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]