I maintain a library that starts a daemon thread to do work in the background. In regular Java and Android applications, this thread is started once and runs for the lifetime of the process. It never exits and that's okay.I maintain a library that starts a daemon threa