tcg: synchronize exit_request and tcg_current_cpu accesses
commitaed807c8e2bf009b2c6a35490d4fd4383887221d
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Aug 2015 13:43:15 +0000 (18 06:43 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:54 +0000 (9 15:34 +0200)
tree60cba0fab56d081be6209dd20ed7c857f09778d3
parentab096a75cd626dcd4ad34b2a11652df0269bee0d
tcg: synchronize exit_request and tcg_current_cpu accesses

Synchronize the remaining pair of accesses in cpu_signal.  These should
be necessary on Windows as well, at least in theory.  Probably
SuspendProcess and ResumeProcess introduce some implicit memory
barrier.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c
cpus.c