On Fri, Aug 26, 2011 at 2:28 PM, <cedric.vinc...@st.com> wrote: > On Fri, Aug 26, 2011 at 04:19:26PM +0200, Peter Maydell wrote: >> Yes; we've discussed this before in this thread: >> http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg01623.html >> >> That commit breaks multi-threaded usermode programs (well, even >> more than they usually are). I think we decided that the right >> fix was to make cpu_single_env thread-local (but that needs a >> slight change for windows, see one of the messages in the thread). > > Oops, I didn't read this thread correctly...
Since you seem to have a nice test case close at hand, could you please test the fix proposed by Paolo?