From: Avi K. <av...@qu...> - 2008-04-15 14:45:41
|
Anthony Liguori wrote: > > Why did we ever need sigtimedwait() anyway? Even if we were > select()ing within the VCPU context, we should break out of the > select() on signal delivery. > select() is no good since if the signal is delivered after the select(), but before entry into guest mode, it is lost. pselect() might work, but its is not supported on all hosts, and it (AFAICT) delivers the signals by calling their handlers, which is slow and unnecessary. -- error compiling committee.c: too many arguments to function |