aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2013-04-09 18:06:53 +0200
committerStefan Weil <sw@weilnetz.de>2013-04-12 18:27:16 +0200
commited9164a3549f93204d6b096136cda2ce54e9f03a (patch)
tree990cd43823c5f8292a38e070a691a7bbc0ec0bee /cpu-exec.c
parent93b48c201eb6c0404d15550a0eaa3c0f7937e35e (diff)
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 <chouteau@adacore.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions