Re: [Qemu-devel] [PATCH 1/3] qemu-timer: drop outdated signal safety comments

2013-07-05 Thread Jan Kiszka
On 2013-07-05 14:39, Stefan Hajnoczi wrote: > host_alarm_handler() may be invoked as a signal handler. Previously we > did more processing in the signal handler and therefore needed > signal-safe timer code. Signal handlers run in the context of the signal processing thread, i.e. the iothread so

[Qemu-devel] [PATCH 1/3] qemu-timer: drop outdated signal safety comments

2013-07-05 Thread Stefan Hajnoczi
host_alarm_handler() may be invoked as a signal handler. Previously we did more processing in the signal handler and therefore needed signal-safe timer code. Today host_alarm_handler() just marks the alarm timer as expired/pending and notifies the main loop using qemu_notify_event(). Therefore t