- Linux kernel start the 1st process - init
- init fork a child process - ServiceManager
- init fork a child process - Zygote
- Zygote
- Fork an child process for SystemServer (register to ServiceManager)
- Main process is waiting to fork child processes of user applications from ActivityManagerService via socket
- Linux - fork() function
- return child pid in parent process
- return 0 in child process
沒有留言:
張貼留言