diff options
Diffstat (limited to 'src/mscorlib/src/System/Threading/ThreadPriority.cs')
-rw-r--r-- | src/mscorlib/src/System/Threading/ThreadPriority.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Threading/ThreadPriority.cs b/src/mscorlib/src/System/Threading/ThreadPriority.cs new file mode 100644 index 0000000000..c56156eb89 --- /dev/null +++ b/src/mscorlib/src/System/Threading/ThreadPriority.cs @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +// +/*============================================================================= +** +** +** +** Purpose: Enums for the priorities of a Thread +** +** +=============================================================================*/ + +namespace System.Threading { + using System.Threading; + + [Serializable] +[System.Runtime.InteropServices.ComVisible(true)] + public enum ThreadPriority + { + /*========================================================================= + ** Constants for thread priorities. + =========================================================================*/ + Lowest = 0, + BelowNormal = 1, + Normal = 2, + AboveNormal = 3, + Highest = 4 + + } +} |