Determining If wait() Should Be Invoked Again

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


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