//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Diagnostics { using System.Threading; using System.Diagnostics; /// /// Specifies the execution state of a thread. /// public enum ThreadState { /// /// The thread has been initialized, but has not started yet. /// Initialized, /// /// The thread is in ready state. /// Ready, /// /// The thread is running. /// Running, /// /// The thread is in standby state. /// Standby, /// /// The thread has exited. /// Terminated, /// /// The thread is waiting. /// Wait, /// /// The thread is transitioning between states. /// Transition, /// /// The thread state is unknown. /// Unknown } }