Sunday, June 19, 2011

Methods that Operate on All Threads within a Group

The ThreadGroup class has three methods that allow you to modify the current state of all the threads within that group:

  • resume
  • stop
  • suspend
These methods apply the appropriate state change to every thread in the thread group and its subgroups.

No comments:

Post a Comment

Chitika