2007-10-24 Dick Porter <dick@ximian.com>
authorDick Porter <dick@acm.org>
Wed, 24 Oct 2007 19:54:52 +0000 (19:54 -0000)
committerDick Porter <dick@acm.org>
Wed, 24 Oct 2007 19:54:52 +0000 (19:54 -0000)
* Thread.cs: Call Thread_init on the new 2.0 constructors too.

svn path=/trunk/mcs/; revision=88120

mcs/class/corlib/System.Threading/ChangeLog
mcs/class/corlib/System.Threading/Thread.cs

index 07b44c34752a64bd5664d0486a91175a445f832a..1ebc814a9ffb3a3140ab3ec84672fca91cf6f561 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-24  Dick Porter  <dick@ximian.com>
+
+       * Thread.cs: Call Thread_init on the new 2.0 constructors too.
+
 2007-10-24  Dick Porter  <dick@ximian.com>
 
        * Thread.cs: Assign the ManagedThreadId when it is asked for,
index f1aec3662c6fbd22b0e11f5d7ddd2a2cc1713d70..a88ebefb0b98f543a2399f7c004a20bee41b896c 100644 (file)
@@ -837,6 +837,7 @@ namespace System.Threading {
 
                        threadstart = start;
                        stack_size = maxStackSize;
+                       Thread_init ();
                }
 
                public Thread (ParameterizedThreadStart start)
@@ -845,6 +846,7 @@ namespace System.Threading {
                                throw new ArgumentNullException ("start");
 
                        threadstart = start;
+                       Thread_init ();
                }
 
                public Thread (ParameterizedThreadStart start, int maxStackSize)
@@ -856,6 +858,7 @@ namespace System.Threading {
 
                        threadstart = start;
                        stack_size = maxStackSize;
+                       Thread_init ();
                }
 
                [MonoTODO ("limited to CompressedStack support")]