[Mono-bugs] [Bug 75856][Nor] New - ParameterizedThreadStart does
not work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Aug 19 18:28:43 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75856
--- shadow/75856 2005-08-19 18:28:43.000000000 -0400
+++ shadow/75856.tmp.16840 2005-08-19 18:28:43.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 75856
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: io-layer
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: vargaz at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ParameterizedThreadStart does not work
+
+Testcase (for gmcs):
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Threading;
+using System.Reflection;
+using System.Reflection.Emit;
+
+public class EmitTest
+{
+ public static void foo (object o) {
+ Console.WriteLine (o);
+ }
+
+ public static void Main () {
+ Thread t = new Thread (new ParameterizedThreadStart (foo));
+ t.Start ("AB");
+ }
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+This crashes because of the BROKEN_THREAD_START stuff in threads.c.
+Undefining it makes it work.
More information about the mono-bugs
mailing list