]> git.ipfire.org Git - thirdparty/qemu.git/commit - cpu-exec.c
tcg: synchronize exit_request and tcg_current_cpu accesses
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Aug 2015 13:43:15 +0000 (06:43 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:54 +0000 (15:34 +0200)
commitaed807c8e2bf009b2c6a35490d4fd4383887221d
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