The system process does; the activity manager (running in the system process) tells the zygote when to fork processes as it needs to start its app processes.
On Wed, Dec 17, 2008 at 5:07 AM, gan <[email protected]> wrote: > > Hi: > > I have a small question about the API "ZygoteInit.acceptCommandPeer" > > In the main of Java ZygoteInit class. > Two APIs are called: > 1) ZygoteInit.startSystemServer > 2) ZygoteInit.runSelectLoopMode > My understanding is: > 1) would fork "system server" as child process of zygote through JNI. > 2) would fork other child process in a loop. > in ZygoteInit.runSelectLoopMode seem ZygoteInit.acceptCommandPeer > used to read something and create new child process accordingly. > (Is there something wrong with my understanding?) > > My question is who(which API in which file) would send the Command > that received by ZygoteInit.acceptCommandPeer? > > Thanks&BstRgds > gan > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
