The Artima Developer Community
Sponsored Link

Java Answers Forum
No way to kill a java threads?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bilal

Posts: 1
Nickname: wavephore
Registered: Nov, 2003

No way to kill a java threads? Posted: Nov 7, 2003 9:49 AM
Reply to this message Reply
Advertisement
Is there a way to kill a thread in java that is blocking on a call?

Suspend, stop etc signals sent to a blocking thread are ignored.

Most text recommends setting up some flag on the thread to indicate that it should kill itself, but obviously this wont work if the thread is blocking on a call and can't check the flag.

Thanks for your help.

Topic: Applet - Remote DB connectivity Previous Topic   Next Topic Topic: Local server over Internet

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use