A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Threads and Synchronization
Author
Interrupted Exception in Threads
Anudeep Duvvuri
Greenhorn
Joined: May 18, 2012
Posts: 28
posted
May 25, 2012 06:39:01
0
Hi
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
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5893
6
I like...
posted
May 25, 2012 07:28:25
0
In the future, please
UseOneThreadPerQuestion
.(⇐click)
I'm locking this one. The discussion can continue in your other thread:
http://www.coderanch.com/t/582134/java/java/Interrupted-Exception
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Interrupted Exception in Threads
Similar Threads
interrupt()and priorities
Sleep and Yield.. Am i correct??
How to indicate to JVM in code where is/is not a good place to kill my thread
Interrupted Exception
Threads
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter