On Fri, Apr 26, 2002 at 11:36:44AM -0600, Jeff Steele wrote: > > > Hi, > > I'm really excited about mono so I tried something a litle > goofy : I built it on a Strongarm platform. I *know* this isn't the > highest priority right now, but just for kicks, here's what I did :
Cool. > ./io-layer/atomic.c : > I removed the spinlocks. This is a hack : pthreads doesn't have the > spinlock calls on ARM, multi-cpus not supported. Should the atomic > routines be coded in assembly ? Does it matter ? The C versions are *not* atomic - they are workarounds for other platforms until atomic versions (probably in assembly) are written. The spinlocks are what is keeping the code vaguely atomic so long as all accesses to the variables in question go through the Interlocked*() functions. The way to fix it would be either a) write the inline assembly versions for arm (the preferred option) or b) replace the spinlocks with mutexes (or c) ignore it for now and hope the problem goes away :) ). > > Q: Should mint be close to running on the StrongARM (or any ARM) or is > there still lots of work to be done ? ARM has been looked at by Serge (I think he was concentrating on wince though). As it happens, I ordered a Zaurus recently myself to play about on with mono :) > > If there is a simple fix to get mint working, I'd love to hear about > it. Me too... - Dick _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
