Interrupt io thread in qemu_set_fd_handler2
commitc9ab59fc120098574cbe3975e1878e818e5d5186
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 7 May 2008 16:55:48 +0000 (7 11:55 -0500)
committerAvi Kivity <avi@qumranet.com>
Thu, 8 May 2008 17:38:24 +0000 (8 20:38 +0300)
tree5ba5862948703c3e9b82a57e028163d47ece1223
parent5a7fdd0abd7cd24dac205317a4195446ab8748b5
Interrupt io thread in qemu_set_fd_handler2

The select() in the IO thread may wait a long time before rebuilding the
fd set.  Whenever we do something that changes the fd set, we should interrupt
the IO thread.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
vl.c