]> Git Repo - qemu.git/commit - softmmu/cpus.c
Check effective suspension of TCG thread
authorOlivier Hainque <[email protected]>
Tue, 9 Apr 2013 16:06:53 +0000 (18:06 +0200)
committerStefan Weil <[email protected]>
Fri, 12 Apr 2013 16:27:16 +0000 (18:27 +0200)
commited9164a3549f93204d6b096136cda2ce54e9f03a
tree990cd43823c5f8292a38e070a691a7bbc0ec0bee
parent93b48c201eb6c0404d15550a0eaa3c0f7937e35e
Check effective suspension of TCG thread

On multi-core systems, SuspendThread does not guaranty immediate thread
suspension. We add busy loop to wait for effective thread suspension
after call to ThreadSuspend().

Signed-off-by: Fabien Chouteau <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
cpus.c
This page took 0.024069 seconds and 4 git commands to generate.