wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Threads" Watch "Threads" New topic


Mayuri Lakhani

Joined: Nov 18, 2002
Posts: 28
Hi all,
I am confused in what happens when a thread is interrupted while it is sleeping. When does it throw interruptedException() or just set the Interrupted Exception flag ture? I am even confused with setting and clearing of the flag when the isInterrupted() and interrupted() method is called?
Can anybody explain in detail?
Ramkumar Venkat

Joined: Dec 09, 2002
Posts: 7
Check this out
jQuery in Action, 2nd edition
subject: Threads
Similar Threads
Not Clear about Interrupt
Stopping Thread when we force stop the application in weblogic
Difference beteween interrupted() and isInterrupted()
thread class interrupted() method
Thread again..