[android-developers] Re: help: all threads have the same pid, tid, same priority

2011-05-27 Thread fadden
On May 25, 5:17 pm, redmapleleaf redmaplel...@gmail.com wrote: Thread t = new Thread(r); t.start(); then a new thread should be created off of the parent process. Is this not true? A new thread is created that executes Thread.run(). If you do exactly what you have typed above, you will

[android-developers] Re: help: all threads have the same pid, tid, same priority

2011-05-25 Thread fadden
On May 25, 4:49 am, redmapleleaf redmaplel...@gmail.com wrote: I was expecting that all the threads should have different tid but they are all of the same. Also it seems that they don't have the low priority from my main activity as my GUI freeze every time the thread start receiving data or

[android-developers] Re: help: all threads have the same pid, tid, same priority

2011-05-25 Thread redmapleleaf
Fadden, I think you are right about my application running in a single thread mode based on the logcat output. The thing that I don't understand is how was that possible? My thought is that every time we use Thread t = new Thread(r); t.start(); then a new thread should be created off of the