View Single Post
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#4
Thank you epage and lizardo

@epage - So if I understand your suggestion correctly, the code snippet you provided basically helps the code work on both diablo and Maemo5 and that it is essentially an exception handler for diablo..

Is there any other way to reduce the program wake-ups and IO ( specifically in the diablo context) to replace

gobject.timeout_add(1000, self.update)