[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Detection of hibernation wake-up
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-10-22 20:07:56
Message-ID: 200810221407.56659.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 22 October 2008, Thiago Macieira wrote:
> I don't know what happens to the monotonic clock when the system
> hibernates. But one has to wonder if a timer that expired during the
> hibernation still makes sense...

for dataengines in plasma it means "there's a pending data update request".

for a trivial example of where this affects us, a clock that only shows the 
minutes only fires it's timer once a minute (and does drift correction at that 
point to keep it aligned, of course). so if you hibernate at second N in the 
minute, you have to wait for 60-N seconds for the clock(s) to show the new 
correct time. (of course, if the clocks are showing seconds, it's 1000-N ms 
instead, not nearly as bad =)

it's survivable, no doubt, but not great, and we run into this issue with a 
few engines in real-world practice already. so  a timer expiring during 
hibernation isn't completely meaningless.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software


["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic