qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Linux SIGIO handling changes


From: Avi Kivity
Subject: Re: [Qemu-devel] Linux SIGIO handling changes
Date: Tue, 22 Apr 2008 11:02:01 +0300
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

Anthony Liguori wrote:

Even with a separate iothread one needs the signals, as there is no other race-free way to poll for both aio completions and fd readiness.

Unless you emulate signalfd() using a thread. FWIW, I've been thinking of implementing something similar to posix-aio (using a thread-pool for AIO) for QEMU to get a bit more control for this sort of thing.


Yes, of course. It's still a separate thread, but as it's hidden from the main logic, that's no problem.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]