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 parent process. Is this not true? On May 25, 4:02 pm, fadden <[email protected]> wrote: > On May 25, 4:49 am,redmapleleaf<[email protected]> 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 start to process the data for speaking. > > The thread ID shown by e.g. "logcat -v threadtime" or "ps -t" is > accurate. > > If you're seeing the same TID in all your log messages, it's because > you're executing code in a single thread. The GUI freezes are likely > because you're doing the processing in the GUI thread itself. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

