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

Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.



Anthony Liguori writes ("Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle 
terminating signals."):
> It's a little less perfect.  Your signal handler can write() to the pipe 
> but what happens if you get EAGAIN?

Then the pipe already has something in it which is fine.  The purpose
of writing to it is to make sure that it is not empty.  We don't count
the bytes.

> Below is our implementation.  I'll queue up to push this change into 
> QEMU after I finish with the migration patches.

Please consider my patch instead, which doesn't depend on threads and
is a lot smaller.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.