Re: [Qemu-devel] [RFC 1/8] timer: associate alarm_timer with AioContext

2013-07-21 Thread Jan Kiszka
On 2013-07-21 10:42, Liu Ping Fan wrote: > We will arm each AioContext with its own timer stuff. As the first > step, we should make each AioContext with its own alarm_timer, > so they can raise the deadline independent. > Each thread with AioContext will have dedicated signal handler > to trigger

[Qemu-devel] [RFC 1/8] timer: associate alarm_timer with AioContext

2013-07-21 Thread Liu Ping Fan
We will arm each AioContext with its own timer stuff. As the first step, we should make each AioContext with its own alarm_timer, so they can raise the deadline independent. Each thread with AioContext will have dedicated signal handler to trigger it own alarm_timer. And all of the alarm timers are