[Mono-bugs] [Bug 71211][Blo] Changed - Interlocked.Increment not incrementing
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 13 Jan 2005 12:41:07 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71211
--- shadow/71211 2005-01-13 09:43:10.000000000 -0500
+++ shadow/71211.tmp.17394 2005-01-13 12:41:07.000000000 -0500
@@ -99,6 +99,23 @@
int n = Interlocked.Increment (ref num);
Console.WriteLine ("Num: {0}", n);
}
}
Maybe Patrik has something to say...
+
+------- Additional Comments From miguel@ximian.com 2005-01-13 12:41 -------
+For the record: the last program on Mono 1.0 prints:
+
+1$ mono i.exe
+Num: 1
+Num: 2
+Num: 4
+Num: 3
+Num: 5
+Num: 6
+Num: 7
+Num: 8
+Num: 9
+Num: 10
+
+