diff options
| author | Olivier Hainque <hainque@adacore.com> | 2013-04-09 18:06:53 +0200 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2013-04-12 18:27:16 +0200 |
| commit | ed9164a3549f93204d6b096136cda2ce54e9f03a (patch) | |
| tree | 990cd43823c5f8292a38e070a691a7bbc0ec0bee /hw/misc/pci-testdev.c | |
| parent | 93b48c201eb6c0404d15550a0eaa3c0f7937e35e (diff) | |
| download | focaccia-qemu-ed9164a3549f93204d6b096136cda2ce54e9f03a.tar.gz focaccia-qemu-ed9164a3549f93204d6b096136cda2ce54e9f03a.zip | |
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 'hw/misc/pci-testdev.c')
0 files changed, 0 insertions, 0 deletions