Deprecated Methods
Home ] Up ] What is a Thread? ] Thread States ] Daemon Threads ] Thread Operations ] Some Useful Methods ] [ Deprecated Methods ]

 

 

The following thread methods have been deprecated since JDK 1.2:

  • stop()
  • suspend()
  • resume()

The stop() method is inherently unsafe, and the suspend() and resume() methods are deadlock-prone.

They should not be used!

For details, see here.

 
The page was last updated February 19, 2008