title: Android service and thread id
body: <p>So, I have two standalone Android projects.</p>
  
  <p>One is an app and the other is a service. The service is configured to run on it's own process.  When I run them and print the thread details I get name = <code>main</code> and id = <code>1</code>.</p>
  
  <p>My initial belief was that both the service and app would run on different processes and therefore different threads.</p>
  
  <p>It looks like they are running on the same thread. Perhaps the answer is that there is a thread named <code>main</code> for each process, plausible and that the thread ids are all per process, meaning two processes could have threads with the same id.</p>
  
  <p>Is this correct? Thanks.</p>