threads and process in our mobile
| Mon, 2008-07-28 08:10 | |
|
HI, SysAp(S60 System Application) is started at boot time..and it will be silent listener. Thanks In advance.... |
|
| Mon, 2008-07-28 08:10 | |
|
HI, SysAp(S60 System Application) is started at boot time..and it will be silent listener. Thanks In advance.... |
|
Forum posts: 2006
The phone has at least one operating system (Symbian) and possibly two (Symbian OS + phone manufacturer real time OS to handle the protocol stack). Regarding servers, I don't know... but Symbian OS runs many of them.
You have several process in your mobile. And at least one thread runs in each process.
That depend on what you call an observer and what is the architecture of your application. I guess that in your case you mean an Active Object which runs in the same thread and process.
Different!
It is not the class or file name which makes the code runs in a different thread or not. Check your code!
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 14
Thank You Eric,
now i had got a fair idea on the mobile and os inside it and threads and process inside the mobile.
one more query:
can you please help me out in identifying between thread and process,
i theoritically know the difference process,thread and active object.
but coming to my code point of view: iam not so keen in identifying between those three.
so please can you just guide me by giving some tips to identify.
Forum posts: 720
http://www.symbian.com/developer/techlib/v9.3docs/doc_source/GlobalGlossary/index.html#GlossaryFolder.toc
process
The Symbian OS unit of memory protection - one user process may not access another's memory. A process contains one or more threads.
thread
A single unit of execution within a process; threads run concurrently.
active object
A class derived from CActive, which is responsible for issuing requests to asynchronous service providers and handling those requests on completion.
Forum posts: 121
hi lil_jil,
You can use any of these entities as per your need. Using a process/thread/a.o. in your codebase, is simple a choice of architecture of your product. Each of them are haveing their advantage/disadvantages & previlages. You will have to study them carefully and will have to map them against your requirement.
Jupitar