IT Community - Software Programming, Web Development and Technical Support

How can we know a state of a thread in Dot Net?

This is a discussion on How can we know a state of a thread in Dot Net? within the C# Programming forums, part of the Software Development category; How can we know a state of a thread in Dot Net?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 05:43 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Question How can we know a state of a thread in Dot Net?

How can we know a state of a thread in Dot Net?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 06:00 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: How can we know a state of a thread in Dot Net?

“ThreadState” property can be used to get detail of thread. Thread can have one or a combination of status.System.Threading. ThreadState enumeration has all the values to detect a state of thread. Some sample states are...

Isrunning
IsAlive
Suspended
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Thread in C#. Balasubramanian.S C# Programming 14 03-17-2008 04:41 AM
Where do you specify session state mode in ASP.Net? oxygen ASP and ASP.NET Programming 1 07-30-2007 07:34 AM
What is daemon thread and How to create the daemon thread Java? bluesky Java Programming 1 07-25-2007 05:55 AM
"Understanding Session State Modes" - to help you to understand the difference betwee Archer ASP and ASP.NET Programming 1 07-24-2007 12:44 AM
What are the different types of Session state management options available with ASP.N Arun ASP and ASP.NET Programming 1 07-19-2007 02:32 AM


All times are GMT -7. The time now is 10:29 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0