Thanks Ton! Is it possible to implement the traditional producer -- consumer model of multi-task (either multi threaded or multi process) on Palm 5.2? I ask this question because from your reply, it seems that OS 5.2 only have very limited model of multi task. It is not a general multi task model -- multi-task information sharing, multi-task synchronization?
Any comments? regards, George ----- Original Message ---- From: Ton van Overbeek <[EMAIL PROTECTED]> To: Palm Developer Forum <[email protected]> Sent: Tuesday, December 12, 2006 10:52:15 AM Subject: Re: multi-threaded application in Palm OS 5.2 On 2006-12-12, Dmitry Grinberg <[EMAIL PROTECTED]> wrote: > > on idle is REALLY easy. > subscribe to sysNotifyIdleTimeEvent, and when you get it, do a bit of > processing. this way you will not slow down the device. BUT of course > battery life will suffer as instead of sleeping the processor will do your > background processing. > <http://www.palmos.com/dev/support/docs/palmos/Notifications.html#1046866> > On 12/11/06, Lynn Allan <[EMAIL PROTECTED]> wrote: >> >> Is it possible to have the equivalent of OnIdle background processing? >> >> I would like to have the app start quickly and show a screen that showed >> info that was "cached" from when it previously closed. In the backgound, a >> large file would be unzipped into FeatureMemory (for example). This is not exactly what Lynn wants, but it should do the trick. The app will receive sysNotifyIdleTimeEvent even when it is not the current app. Of course it has to subscribe to the notification as soon as HotSync is finished (syncNotify launch code). To not block the device, it should decompress to Feature memory only a piece at a time. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
