Re: function g_cond_timed_wait is not safe when change of datetime?

> The system clock can be altered by a privileged user (for obvious
> reasons - you need to be able to set it to the current time every now
> and then to accommodate clock drift).

Isn't that handled on modern systems (once the time has been set
roughly correct, typically at boot time, to within a minute, say) by
just speeding up or slowing down the clock, not by stepping it? See
adjtime(). SetSystemTimeAdjustment() seems to be the corresponding
thing on Win32.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]