On 10/28/13, 10:29 PM, Lu, Qiang wrote:
Hi developers,
I am a newbie on Mozilla development and want to do some contributions
for Fennec.
AFAIK, latest Fennec running on single process mode, am I right?
Yes, Fennec is single process (modulo some background process code).
And, I want to know more detail information about process management
and thread management in Fennec.
For example,
How many thread will be create after fennec start?
What apis is used for create new thread?
How main ui thread related to other threads?
Is there guide on thread/process programming for Fennec or
normal firefox?
Basically, Where can I find those information? (url, mail archive,
source code)
I suspect the best way to see the threads that are created at Fennec's
start would be to launch Fennec and dump the threads in gdb. Most of the
threads have human-readable names that indicate what they do.
MDN documents various thread APIs in Gecko
https://developer.mozilla.org/en-US/docs/Mozilla/XPCOM/Making_cross-thread_calls_using_runnables.
We also have several Java threads which are managed with standard
Android APIs.
-Brad
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev