Java Thread Programming

Chapter 16 - The SureStop Utility

Java Thread Programming
Paul Hyde
  Copyright 1999 Sams Publishing

Summary
SureStop monitors threads for a period of time, and if they fail to die on their own, it steps in and invokes stop() . SureStop should only be used as a last resort and should not be the only method used to try to get a thread to die. Techniques in Chapters 5 , 11 , and 15 show other ways that threads can be signaled to die in an orderly manner. The SureStop utility is a useful supplement to other thread-stopping techniques.

Toc

Категории