[Mono-bugs] [Bug 37759][Nor] New - Thread.Join(int t) not supporting t=Timeout.Infinite
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sat, 8 Feb 2003 13:12:19 -0500 (EST)
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 kuhne@wanadoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=37759
--- shadow/37759 Sat Feb 8 13:12:19 2003
+++ shadow/37759.tmp.14365 Sat Feb 8 13:12:19 2003
@@ -0,0 +1,53 @@
+Bug#: 37759
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: kuhne@wanadoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Thread.Join(int t) not supporting t=Timeout.Infinite
+
+Description of Problem:
+
+Thread.Join(int t) is not supporting t=TimeoutInfinite.
+
+Steps to reproduce the problem:
+
+using System;
+using System.Threading;
+
+public class Test
+{
+ public static void Method()
+ {
+ Console.WriteLine("Hi!");
+ }
+
+ public static void Main()
+ {
+ Thread t = new Thread(new ThreadStart(Method));
+ t.Start();
+ t.Join(Timeout.Infinite);
+ }
+}
+
+
+
+Actual Results:
+
+Unhandled Exception: System.ArgumentException: Timeout less than zero
+in <0x00046> 00 System.Threading.Thread:Join (int)
+in <0x00088> 00 .Test:Main ()
+
+Expected Results:
+
+Hi!