[Mono-devel-list] [PATCH] .Net 2.0 System.Threading.Interlocked, tests and internal improvements

Dick Porter dick at ximian.com
Tue Oct 12 09:51:23 EDT 2004


On Tue, 2004-10-12 at 08:52 -0400, Ben Maurer wrote:
> Here we are going to run into more problems. Many of the functions we need
> will only be defined for newer versions of windows. eg.
> InterlockedCompareExchange64 is only defined for Windows 2k3 server. Even
> XP does not have it.

That's true, mingw will probably only have the functions that io-layer
already does.

> > Be aware that some 686s don't have cmov, it's an optional instruction.
> > For example, the VIA C3:
> >
> > Linux ceasterware 2.6.5-7.108-default #1 Wed Aug 25 13:34:40 UTC 2004
> > i686 i686 i386 GNU/Linux
> 
> Interesting. Doesn't gcc use cmov when you say -march=i686?

Yes.  RPM treats this cpu as a 586 for things that might come in 686
versions, such as glibc.

- Dick




More information about the Mono-devel-list mailing list