Threads Module User's Guide : PART II Concurrency Packages : Chapter 3 The Threading Package : The Runnable Object Classes : Runnable Operations
Runnable Operations
As stated earlier, the runnable is the central mechanism for creating, controlling, and monitoring threads of execution. All runnable objects inherit a common set of operations and capabilities that support these activities. These operations are listed below and described in detail in the following sections:
“Starting a Runnable.”
“Joining a Runnable.”
“Monitoring the Completion State of a Runnable.”
“Catching and Rethrowing Exceptions.”
“Interrupting a Runnable.”
“Canceling a Runnable.”
“Sleeping.”
“Yielding Execution.”
“Suspending and Resuming Execution.”
“Terminating Execution.”
“Monitoring the Execution State of a Runnable.”
“Execution Nesting.”
“Thread Identification.”