[Mono-devel-list] problem with simple reference and mcs

Dale Olds olds at novell.com
Wed Jan 21 11:17:24 EST 2004

I am having a problem with a chunk of code dealing with simple
references and I currently suspect the problem is with mcs in cvs for
the past few weeks, but I am unsure of what I am seeing. Could someone
check my results?

The problem originally had to do with using the
Threading.InterlockedIncrement calls, but I have reduced it to the
attached simple program. What I have seen is that the attached test
program succeeds when compiled with csc, or any msc that has been built
from sources from .29 through sometime in late Dec. If it is compiled by
an mcs from late Dec to current CVS, it fails (x is never incremented).
A bad exe will fail on the mono or MS runtime. I have tried building mcs
on machines running Redhat 9 with XD2, and SUSE 9.

I have been hesitant to submit a bug report because this seems so basic,
perhaps I am missing something obvious. Any help is appreciated.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: IncTest.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040121/0c357f0e/attachment.pl 

More information about the Mono-devel-list mailing list