RE: [RFC 0/2] qemu-sem-posix: use monotonic clock instead

2022-02-21 Thread longpeng2--- via
qemu-devel@nongnu.org; Gonglei (Arei) > Subject: Re: [RFC 0/2] qemu-sem-posix: use monotonic clock instead > > On 2/21/22 10:56, Longpeng(Mike) via wrote: > > The qemu_sem_timedwait() uses system time as default, it would be affected > by > > changes to the system time. In

Re: [RFC 0/2] qemu-sem-posix: use monotonic clock instead

2022-02-21 Thread Paolo Bonzini
On 2/21/22 10:56, Longpeng(Mike) via wrote: The qemu_sem_timedwait() uses system time as default, it would be affected by changes to the system time. In the real scenario, the time that goes faster or slower is a common case and the NTP service could help us to sync time periodically. This

[RFC 0/2] qemu-sem-posix: use monotonic clock instead

2022-02-21 Thread Longpeng(Mike)
The qemu_sem_timedwait() uses system time as default, it would be affected by changes to the system time. In the real scenario, the time that goes faster or slower is a common case and the NTP service could help us to sync time periodically. This patchset uses monotonic clock instead of the