On Feb 20, 9:28 am, sukumar <bhashyam.suku...@gmail.com> wrote: > I need to suspend/resume a thread from another thread in the same > process. I tried to look into thread apis,but I couldn't figured out a > way to achieve this.Can anyone pls point me some references to look or > give a tip to do this. Thanks a lot in advance.
The APIs you would use, Thread.suspend() and Thread.resume(), are deprecated and hence not implemented on Android. This link: http://java.sun.com/javase/6/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html has a section entitled "What should I use instead of Thread.suspend and Thread.resume?" that may be useful. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---