Chapter 10: Thread Groups

Chapter 10 - Thread Groups

Java Thread Programming
Paul Hyde
  Copyright 1999 Sams Publishing

Deprecated Methods : stop(), suspend(), and resume()
The stop() , suspend() , and resume() methods of ThreadGroup have all been deprecated as of JDK 1.2 and should not be used. The stop() method stops all the threads in the specified thread group and subgroups. The suspend() method suspends execution of all of the threads in the specified thread group and subgroups. The resume() method resumes execution of all of the threads in the specified thread group and subgroups. These methods are deprecated at the ThreadGroup level for the same good reasons that they are deprecated at the Thread level. See Chapter 5 for more information about why these methods are deprecated and ways that you can safely implement similar behavior.

Toc


Java Thread Programming
Java Thread Programming
ISBN: 0672315858
EAN: 2147483647
Year: 2005
Pages: 149
Authors: Paul Hyde

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net