View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Originally Posted by shadowjk View Post
As a sidenote, both intel and the QT folks are working on synchronizing timers in MeeGo. That is, the app can request a wakeup with specified precision (or lack thereof). Say you want your app to wake up every 10 second, but you don't care that much about exactly 10 second. So you can ask "10 seconds, give or take a few", and the kernel or qt can look for another app that has a similar requirements, and slowly move their timers closer together until they fire at the same time, effectively coalescing the wakeups of two apps into becoming a single wakeup.
Actually, unless I'm mistaken, Fremantle also has such a feature: http://maemo.org/api_refs/5.0/5.0-fi...eat-signal-add

The above is for applets, but libiphb can be used directly. Shame most applet writers opt for g_timeout_add_seconds () first...

Originally Posted by http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/UI_Framework#Status_menu_plugin_API
Function for registering callbacks using the system-wide synchronized timers: hd_status_plugin_item_heartbeat_signal_add

Last edited by qwerty12; 2010-07-29 at 12:26.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: