On 2012-08-23 15:11, Paolo Bonzini wrote:
>>> So, in order to remove the qemu_notify_event completely, what about not
>>> using signals anymore for timers?  You could just tweak the select
>>> timeout and drop all the -clock madness.  Zero syscalls, practically no
>>> overhead.  If this is not precise enough, use timerfd on Linux only
>>
>> Need to think about it. At least, real-time tasks will get proper
>> precision on Linux. Not sure if it will be sufficient on other hosts.
> 
> Do we care (I put non-Linux POSIX just a little above Windows but not much)?

Well, at least we should not regress.

For Windows I just found out that we support millisecond resolution in
os_host_main_loop_wait at best due to g_poll. That would be fine, but
what is g_poll really using? Likely not mm-timers...

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

Reply via email to