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

Re: [libvirt] remote clients are non-interruptible



On Sun, Oct 25, 2009 at 01:00:58PM -0400, John Levon wrote:
> 
> remoteIOEventLoop() has this:
> 
> 6974     repoll:
> 6975         ret = poll(fds, ARRAY_CARDINALITY(fds), -1);
> 6976         if (ret < 0 && errno == EINTR)
> 6977             goto repoll;
> 
> with the result that all clients using the remote driver cannot be
> control-C'd. Dan, you added this code it seems, why?

I'd agree with John here that probably you want to test only for errno
== EAGAIN, not EINTR in this (client) case.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw


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