Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

57 lines
1.5 KiB
C#

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