Marcelo Tosatti wrote: > On Fri, Apr 11, 2008 at 01:59:35PM -0500, Anthony Liguori wrote: > >> With the IO thread, shouldn't we be striving to perform the select()s >> within the IO thread itself to completely avoid the need to use SIGIO at >> all? >> > > Fully agree. Problem with it are the fundamental changes in qemu that > are required (and the difficulty merging those in qemu). > >
One is tempted to use pselect() to temporarily unblock the signals while waiting. This has two problems, though: one, pselect() is emulated in libc with older kernels, and this emulation has an (unavoidable) race. Two, I think pselect() will deliver the signal in addition to returning, which we want to avoid. Not sure about this though. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel