Thanks Ben buddy! I ask this question because I noticed in the new release 
Notes of Palm OS, there are some announcement of multi-threaded support, right?

I have a further question about your reply below,

> Also, applications can register for notifications where their routines will 
> be called while other programs are running. 

I have some experience on Palm programming. But I have no experience of what 
you mentioned above. Is that something like Inter-Process Communication and 
Synchronization approach (like IPC on Linux/UNIX)? Could you provide a formal 
URL to the related Palm developer document please?


have a nice week,
George


----- Original Message ----
From: Ben Combee <[EMAIL PROTECTED]>
To: Palm Developer Forum <[email protected]>
Sent: Monday, December 11, 2006 7:20:30 AM
Subject: Re: multi-threaded application in Palm OS 5.2

On 12/10/06, Lin George <[EMAIL PROTECTED]> wrote:
In my current understanding, Palm OS 5.2 only supports one application 
(process) one thread -- means each process could only have one thread. Is my 
understanding correct?

Another quick question, if I am right for the previous point (one process can 
only have one thread), is it possible to do communication/information sharing 
between different processes on Palm OS 5.2? Like pipe similar communication, 
and other approaches? Is it possible to do cross-process synchronization, like 
mutex/lock/etc.

You neither have multiple threads or multiple processes in standard Palm OS 
programming.  To switch applications, the current one ends, then the system 
starts the new one. 


There is a limited background thread capability exposed through the sound 
stream APIs.  Also, applications can register for notifications where their 
routines will be called while other programs are running. 

-- 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/

Reply via email to