Thanks Trevor! Sorry I may make your confused. What I mean is not to verify 
whether multithread exists on Palm OS 5.2 But to discuss

1. whether there are any approaches to share information (like someone 
mentioned, global memory could be used for this purpose, is that correct?) 
between different processes
2. and synchronize the processes' operations (are there any approaches like 
Linux similar mutex?).

Could you kindly comment on the two questons above please? Thanks again.


regards,
George

----- Original Message ----
From: Trevor MacPhail <[EMAIL PROTECTED]>
To: Palm Developer Forum <[email protected]>
Sent: Tuesday, December 12, 2006 1:48:41 PM
Subject: Re: multi-threaded application in Palm OS 5.2


As other people have already pointed out, Palm OS does not have any  
support for multi threaded applications. There really only is even  
one application running at a time. The closest you can get is using  
events like sysNotifyIdleTimeEvent to repeatedly receive events from  
the OS. However you still need to make sure that the amount of  
processing you do each time you receive the event is small so that  
you can return control back over to the OS so you can receive another  
because the OS isn't going to preempt it. And so on.

--
Trevor

On 11-Dec-06, at 9:39 PM, Lin George wrote:

> Thank for clarification Lynn! I am really confused by previous  
> answers... and I am looking for an official one. Before asking this  
> question, I have referred Palm developer guide (the several hundred  
> page book), but no concrete/detailed answers except some general/ 
> high level answer from beginning part...
>
> What I want to do is to port an application from Windows Mobile to  
> Palm. I used multi-task technologies in my Windows Mobile  
> application, and if Palm does not support... I will implement some  
> native technologies to lock/synchronize processes, for example,  
> create lock files on SD card.
>
> But if Palm OS 5.2 supports multi-task technology, I will save my  
> time on implementing this!! :-)
>
> So, any official answers?
>
>
> regards,
> George
>
> ----- Original Message ----
> From: Lynn Allan <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[email protected]>
> Sent: Tuesday, December 12, 2006 12:32:14 PM
> Subject: Re: multi-threaded application in Palm OS 5.2
>
>
> This Palm newbie wasn't at all attempting to answer your  
> question ... just wanted to ask a related question.
> -- 
> For information on using the PalmSource Developer Forums, or to  
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
>
>
> ______________________________________________________________________ 
> ______________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
> -- 
> For information on using the PalmSource Developer Forums, or to  
> unsubscribe, please see http://www.palmos.com/dev/support/forums/


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


 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com

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

Reply via email to