Results 1 to 3 of 3
Thread: How to stop Thread
- 11-30-2009, 04:14 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 51
- Rep Power
- 0
How to stop Thread
Hi
I am writing a java code for multiple client-server. When the client logs off then is it like the the thread in the server is killed or do we have to explicitly kill the thread running in the server otherwise the thread will keep running. If yes then what i am doing right now is that I am simply doing object of the thread - null. Is the right way.
Thanks
Sachin
- 11-30-2009, 03:35 PM #2
check thread.isAlive() and proceed
Ramya:cool:
- 11-30-2009, 07:11 PM #3
Member
- Join Date
- Aug 2009
- Posts
- 51
- Rep Power
- 0
Similar Threads
-
Thread won't stop
By bubbless in forum Threads and SynchronizationReplies: 15Last Post: 10-20-2009, 10:58 PM -
Forcing a thread to stop
By sukatoa in forum Threads and SynchronizationReplies: 7Last Post: 07-17-2009, 06:41 AM -
Help to stop a thread
By raghu_lzybns in forum New To JavaReplies: 4Last Post: 07-09-2009, 04:39 PM -
[SOLVED] How to stop a thread
By AlejandroPe in forum New To JavaReplies: 5Last Post: 04-29-2009, 03:05 PM -
how to stop a thread
By willemjav in forum Advanced JavaReplies: 19Last Post: 09-10-2008, 07:11 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks