Hi Dmitry! What you two are dicussing is only one specific case of multi-task 
(either thread or process), which is implemented by Palm's built-in event 
handling approach...

How about a general multi-task case (either thread or process)? Like a producer 
-- consumer model? Is it possible to implement gracefully on Palm?


regards,
George

----- Original Message ----
From: Dmitry Grinberg <[EMAIL PROTECTED]>
To: Palm Developer Forum <[email protected]>
Sent: Tuesday, December 12, 2006 9:53:23 AM
Subject: Re: multi-threaded application in Palm OS 5.2

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. 



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). 



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/




-- 
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003 -- 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/

Reply via email to