Thread.suspend

Thread.suspend

Class Overview | Class Members | This Package | All Packages

Syntax
public final void suspend()
Description
Suspends this thread.

First, the checkAccess method of this thread is called with no arguments. This may result in throwing a SecurityException (in the current thread).

If the thread is alive, it is suspended and makes no further progress unless and until it is resumed.

Exceptions
SecurityException if the current thread cannot modify this thread.
See Also
checkAccess, isAlive