[threads] Import mono_thread_info_set_priority (#3543)
[mono.git] / mcs / class / corlib / System.Threading / Thread.cs
index 9658b45606fd4c3869b70762e8219b5fedfa5df4..94d6aac785a15beba965aae8f8dff67574385331 100644 (file)
@@ -90,6 +90,7 @@ namespace System.Threading {
                private IntPtr flags;
                private IntPtr thread_pinning_ref;
                private IntPtr abort_protected_block_count;
+               private int priority = (int) ThreadPriority.Normal;
                /* 
                 * These fields are used to avoid having to increment corlib versions
                 * when a new field is added to the unmanaged MonoThread structure.
@@ -122,7 +123,6 @@ namespace System.Threading {
                private InternalThread internal_thread;
                object m_ThreadStartArg;
                object pending_exception;
-               int priority = (int) ThreadPriority.Normal;
                #endregion
 #pragma warning restore 414