Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check if thread is running

Status
Not open for further replies.

leangross

IS-IT--Management
Jul 3, 2002
84
PH
Few question about threading

1. is there a way i could check if an existing thread is still running?

2. how could i check if there is still active thread before i close the application?

3. How to stop a specific thread from running? I stored the thread id so i could reference it when i need it.


Thanks, hope someone could help me on this....


 
1. yes
2. keep the reference or the threadid
3. if you have the reference thread1.abort if by the id then I have to llok it up.

Christiaan Baes
Belgium

"In a system where you can define a factor as part of a third factor, you need another layer to check the main layer in case the second layer is not the base unit." - jrbarnett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top