[Mono-bugs] [Bug 70234][Nor] Changed - [PATCH] InterlockedIncrement on (long) 2147483647 returns wrong value

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Dec 2004 05:04:22 -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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=70234

--- shadow/70234	2004-12-05 17:17:35.000000000 -0500
+++ shadow/70234.tmp.6866	2004-12-07 05:04:22.000000000 -0500
@@ -47,6 +47,9 @@
 Note that the interlocked ops are not needed here. The implementation
 is not required to be (and is not on msft) thread safe when something
 other than Interlocked.{Increment, Decrement} is modifying the
 variable. So, the only writer to the variable inside that lock is the
 Interlocked method, which is protected by a mutex.
 
+
+------- Additional Comments From lupus@ximian.com  2004-12-07 05:04 -------
+Please commit (on the 1.0 branch, too).