Click here to Skip to main content
16,012,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have thread handle, I want to get the thread status, (ie. if it is running or stopped). from its handle.

How can I do this?

Please help me.
Posted
Updated 8-Aug-10 21:21pm
v2
Comments
Dalek Dave 9-Aug-10 3:21am    
Edited for Readability and Spelling.

1 solution

Call the GetExitCodeThread[^] function.
:)
 
Share this answer
 
Comments
patilvaibhavrao 19-Aug-10 4:44am    
Reason for my vote of 1
ok but i want atatus of thread from it handle i.e it is running , suspended etc
CPallini 14-Sep-10 14:08pm    
With the above function you may tell if the thread is still alive or it was terminated (i.e. stopped). If you meant another thing it is not my fault. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900