1.3 init进程初始化流程

less than 1 minute read

初始化流程

  1. Init.cpp
  2. 解析init.zygote.rc[parse_service]
  3. 启动main类型服务[do_class_start()]
  4. 启动zygote服务[service_start()]
  5. 创建Zygote进程[fork()]
  6. 创建Zygote Socket[create_socket()]
  7. App_main.cpp[main()]