[Mono-bugs] [Bug 578169] New: Interlocked Increment/Decrement not working on mono as msdn suggests it should work.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Feb 9 00:25:24 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=578169
http://bugzilla.novell.com/show_bug.cgi?id=578169#c0
Summary: Interlocked Increment/Decrement not working on mono as
msdn suggests it should work.
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=341404)
--> (http://bugzilla.novell.com/attachment.cgi?id=341404)
Interlocking Increment/Decrement example from msdn
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7)
Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7
Example taken from msdn: http://msdn.microsoft.com/en-us/library/dd78zt0c.aspx
I have run this on a single core / single processor laptop.
Reproducible: Sometimes
Steps to Reproduce:
1. Compile and run attached test case
Actual Results:
It Varies but mostly:
UnsafeInstanceCount: 1
SafeCountInstances: 1
or:
UnsafeInstanceCount: 2
SafeCountInstances: 2
Expected Results:
UnsafeInstanceCount: 0
SafeCountInstances: 0
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list