Browse Source

Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <[email protected]>

	* Thread.cs: put all the fields at the start and add
	more fields needed by the runtime.

svn path=/trunk/mcs/; revision=17436
Paolo Molaro 22 years ago
parent
commit
ec3fa23e77

+ 6 - 0
mcs/class/corlib/System.Threading/ChangeLog

@@ -1,3 +1,9 @@
+
+Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <[email protected]>
+
+	* Thread.cs: put all the fields at the start and add
+	more fields needed by the runtime.
+
 2003-08-14  Lluis Sanchez Gual  <[email protected]>
 
 	* Thread.cs: SetData() method: use Hashtable.Contains to check

+ 6 - 4
mcs/class/corlib/System.Threading/Thread.cs

@@ -34,6 +34,12 @@ namespace System.Threading
 		private IntPtr start_notify;
 		private IntPtr stack_ptr;
 		private IntPtr static_data;
+		private IntPtr jit_data;
+		private IntPtr lock_data;
+		
+		private ThreadStart threadstart;
+		private string thread_name=null;
+		
 		
 		public static Context CurrentContext {
 			get {
@@ -215,8 +221,6 @@ namespace System.Threading
 		[MethodImplAttribute(MethodImplOptions.InternalCall)]
 		private extern IntPtr Thread_internal(ThreadStart start);
 
-		private ThreadStart threadstart;
-		
 		public Thread(ThreadStart start) {
 			if(start==null) {
 				throw new ArgumentNullException("Null ThreadStart");
@@ -319,8 +323,6 @@ namespace System.Threading
 			}
 		}
 
-		private string thread_name=null;
-		
 		public string Name {
 			get {
 				return(thread_name);