|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signal
Ian Jackson wrote:
In KVM, we sleep for 1s in select() and use signalfd() to receive the
aio notifications. For older hosts, we emulate signalfd using a thread
and the pipe-to-self trick.
Why does it need a thread ? You can just write to the pipe in the
signal handler. I'll post my code.
Not sure that it matters, but the semantics are slightly different:
with a thread you don't get EINTR in random syscalls as the signal
thread is the only one that has the signals unblocked.
--
error compiling committee.c: too many arguments to function
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00/13] merge some xen bits into qemu, Gerd Hoffmann
- [Xen-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.,
Avi Kivity <=
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Samuel Thibault
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Message not available
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
|
|
|
|
|