1。一个 进程 中 activity 和 service 在一个线程中
2.非一个进程 中 activity 和 service 不在一个线程中
测试 打印 进程id 和 线程id
Process.mytid() Process.mypid()