Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Threads and Synchronization
Interrupted Exception in Threads
Joined: May 18, 2012
May 25, 2012 06:39:01
I read that Threads can throw Interrupted Exception when the Thread that is executing is interrupted. But how to get this Exception? I mean can any one explain me with a small program which generates this Interrupted Exception??
Thanks in advance
Joined: Jan 03, 2004
May 25, 2012 07:28:25
In the future, please
I'm locking this one. The discussion can continue in your other thread:
Have you checked out
subject: Interrupted Exception in Threads
How to indicate to JVM in code where is/is not a good place to kill my thread
Sleep and Yield.. Am i correct??
Threads question from Kahalid's exam..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015