On 10/07/2011 07:29 PM, David Gilbert wrote:
Hmm this got a bit more complex than the original patch; still it covers a lot
more bases.
Should this also replace the THREAD that's defined in
linux-user/qemu.h and bsd-user/qemu.h (that is __thread if built with
NPTL)?
It seems to only be there for 'thread_env' which is also a CPUState*
(hmm - what state does that contain that cpu_single_env doesn't?)
Yes, I wouldn't be surprised if thread_env can just go. That would be a
separate cleanup, however.
Paolo