All pastes #161601 Raw Edit

Something

public text v1 · immutable
·published 2006-09-05 16:43 UTC
rendered paste body
mono$ gmcs interlocked-2.2.cs  -out:a.exe
mono$ mono a.exe

** (a.exe:28051): WARNING **: cant resolve internal call to "System.Threading.Interlocked::CompareExchange(InterlockTest&,InterlockTest,InterlockTest)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /mono/lib/mono/2.0/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

** (a.exe:28051): WARNING **: cant resolve internal call to "System.Threading.Interlocked::CompareExchange(InterlockTest&,InterlockTest,InterlockTest)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /mono/lib/mono/2.0/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

Unhandled Exception: System.MissingMethodException: Cannot find the requested method.
  at (wrapper managed-to-native) System.Threading.Interlocked:CompareExchange (InterlockTest&,InterlockTest,InterlockTest)
  at InterlockTest.Main () [0x00000]