Hello, there are different approaches possible, that are quite common among the Palm developers and that can to certain extent replace missing OS support.
You can start a long computation (what you call 'background process') and periodically run the event loop. E.g. you can supply some callback to the process. The process must call it frequently. Further you need some interaction (protocol) - it should include the progress information and a possibility to abort. Alternatively you can start from another end: Run the event loop and periodically pass the control to the process. A suitable moment to do it is the reaction to the nilEvent as this represents idle state. The condition for this method is that you can carry out the process in small discrete steps. Regards, Jan Slodicka ----- Original Message ----- From: "Keyur Patwa" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 7:02 PM Subject: RE: Multi Threading in Palm OS! Hi pedro, Thanks for you reply! Actually, I want to keep running some process in the back goround and allow user to interact with Forms (User Interface) at the same time. I wonder if any of the solutions that you have suggested is suitable for this approach! Thanks, Keyur -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/