thiago at kde.org
Tue Nov 9 05:38:34 PST 2010
Em Terça-feira 09 Novembro 2010, às 10:13:26, Kevin Krammer escreveu:
> I guess it depends whether common methods of sleeping are based on actual
> time, i.e. do select/poll/sleep return when having been given a timeout of
> 6h and the system was suspended during that time?
> > Of course, right now it is not that easy on Linux to get the necessary
> > information from the kernel to implement these tests. However, at last
> > for the wallclock time change test this will change shortly.
> Hmm, doesn't sound very ensuring. How about other operating system that
> software following freedesktop.org standards is commonly run on, e.g. *BSD,
All of them should support the monotonic clock too. It's not a new feature
(it's POSIX anyway).
All one needs to do is get both the wall clock and monotonic clock values and
compare the difference to the last difference computed. If there was a
considerable jump, skip this cleaning up.
> Since you guys have put this auto delete on age feature into the list you
> probably have a good use case for it. Maybe you could elaborate on it so we
> others can also take it into our considerations.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the xdg