From: Avi K. <av...@qu...> - 2008-05-05 07:23:22
|
Anthony Liguori wrote: > This patch reworks the IO thread to use signalfd() instead of sigtimedwait(). > This will eliminate the need to use SIGIO everywhere. In this version of the > patch, we use signalfd() when it's available. When it isn't available, we > create a separate thread and use sigwaitinfo() to simulate signalfd(). > > We cannot handle thread-specific signals with signalfd() emulation so also > replace SIGUSR1 notifications to the io-thread with an eventfd. Since eventfd > isn't always available, use pipe() to emulate eventfd. > Please break the SIGUSR1 changes into a separate patch. Ditto with *fd syscall compat. -- error compiling committee.c: too many arguments to function |