You probably also want to give it special oom killer values to protect it.  

On Friday, March 2, 2012 8:07:39 PM UTC-5, Tim wrote:
>
> I'm working with a client who needs to have a persistent server run on 
> a device running Android. The device will be wall-powered, so battery 
> life is not an issue. 
>
> The server is written in portable C/C++ code. I'm well on the way to 
> getting it all to build on Android, but I'm worried about what I've 
> heard about Android killing off processes it "doesn't know about." 
>
> If I start this process in init.rc, is that all I need to do to 
> guarantee it will start on boot and stick around indefinitely? 
>
> Thanks, 
>
> Tim Mensch

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to