[Mono-list] HOWTO Install Mono-0.20 under OS X 10.2

Dick Porter dick@ximian.com
26 Feb 2003 12:36:41 +0000


On Tue, 2003-02-25 at 17:24, Gerry Shaw wrote:
> * When running any C# program (ie, mcs) I get the following warning 
> message:
> 
> [alpine:~/Projects] gerry% mint HelloWorld.exe
> 
> ** (HelloWorld.exe:16643): WARNING **: Using non-atomic functions!
> Hello, World!
> 
> * fix for the non-atomic functions.  I think it's something to do with 
> the POSIX threads under OSX but could be totally off base)

There are some atomic compare-and-swap functions, but those need
platform-specific assembly.  The warning is telling you that there is no
support there for ppc (until someone writes it) so the functions are
being emulated in a non-atomic fashion.

- Dick