]> git.proxmox.com Git - mirror_qemu.git/commit
Fix windows build after init_host_timer changes.
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 5 Nov 2008 21:22:34 +0000 (21:22 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 5 Nov 2008 21:22:34 +0000 (21:22 +0000)
commitf49e58dc64a6347dda3233076c85cc80d65fba72
tree0994ba7321b6849de0a44ed61b186163607aada2
parent5bec1d1deac8826de21081a4157e14fa48b12805
Fix windows build after init_host_timer changes.

host_alarm_timer fires in a separate thread.  The windows build current
uses SetEvent() and WaitEvent() to then notify the main thread.  This is
functionally equivalent to what we're doing in Unix with pipe().  So let's
just #ifdef the pipe() code on Windows since it doesn't build there anyway.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5637 c046a42c-6fe2-441c-8c8c-71466251a162
vl.c