]> git.proxmox.com Git - qemu.git/commit - cpus.c
fix win32 build
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Dec 2011 12:43:52 +0000 (13:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Dec 2011 15:20:50 +0000 (09:20 -0600)
commit1ecf47bf0a091700e45f1b7d1f5ad85abc0acd22
tree879b0b0ebaba1097b246fe60f590fa8028d12bea
parentcd34d667d448bec91c81f4e46f9e7eb4e4857f6f
fix win32 build

On Windows, cpus.c needs access to the hThread.  Add a Windows-specific
function to grab it.  This requires changing the CPU threads to
joinable.  There is no substantial change because the threads run
in an infinite loop.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-defs.h
cpus.c
qemu-thread-win32.c
qemu-thread-win32.h