双守护进程(不死service)-5.0系统以下

上链接:

http://files.cnblogs.com/files/andlp/DaemonProcess.zip

原理:native层fork出子进程,双进程守护

5.0以上  参考marsDaemon

原文地址:https://www.cnblogs.com/andlp/p/5569693.html