*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Stop a thread 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 "Stop a thread " Watch "Stop a thread " New topic
Author

Stop a thread

Javix Protocol
Ranch Hand

Joined: Mar 21, 2000
Posts: 57
Jpeople out there please reply this
If the stop() method is deprecated how will u stop a thread.(literally).

------------------
The Javix


Write Once , Run Anytime ,Anywhere Forever And Smile Happily.
Eric Barnhill
Rancher

Joined: Feb 25, 2000
Posts: 233

Use a boolean variable as a flag.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Stop a thread
 
Similar Threads
about yield()
Threads Question.
Thread -Help maha anna
notify
MediaTracker Query