who tell the zygote to born a child process

8 views
Skip to first unread message

w wylhistory

unread,
Apr 10, 2010, 2:19:25 AM4/10/10
to android-platform

Hi:
       each app will be born by zygote,but who tell the zygote to do that?
       I see the zygote create a socket from init process then listen to a port,but I do not find some clients to connect to the socket?

      so my question is that is there a  proxy to responsible for communication to the zygote? which one?


    thanks in advance.

David Turner

unread,
Apr 10, 2010, 9:21:01 AM4/10/10
to android-...@googlegroups.com
Lok at the ActivityManagerService, which is itself invoked from the "am" command-line program.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

w wylhistory

unread,
Apr 11, 2010, 10:04:37 PM4/11/10
to android-platform
thanks for your reply,
you mean ActivityManagerService will communicate to the zygote ,and pass the uid ,gid ?


2010/4/10 David Turner <di...@android.com>



--
戴着镣铐跳舞
ShangHai Woojoy Technologies Co.,Ltd.
Tel:86-21-51701500-8016
Address: Shanghai Scientific and Technical Incubator Center; Room 601, Building 2, Lane 100, Qinzhou Road, Xuhui District, Shanghai, P.R. China Zip: 200235
地址:上海市徐汇区钦州路100号上海市科技创业中心2号楼601室。邮编:200235

w wylhistory

unread,
Apr 11, 2010, 10:50:39 PM4/11/10
to android-platform
OK,I see it,thanks;
Reply all
Reply to author
Forward
0 new messages