[Mono-devel-list] sparc patch & question

Bernie Solomon bernard at ugsolutions.com
Tue Sep 23 18:09:27 EDT 2003


I am attaching a patch for atomic operations on sparc which I'd like to
commit if there are no objections... firstly Increment didn't actually do
the increment properly and secondly having static locks in each function
doesn't properly lock access on the same variable by different functions.
This just uses a single global lock though a more efficient enhancement is
to have multiple locks which are used depending on the address of the
variable.

Secondly I am curious who is doing anything on sparc? And linux or Solaris?
I have some stuff to get the interpreter going for sparcv9 - i.e. 64 bits -
(not all the struct-by-value possibilities yet) which is ifdef's on the
existing trampoline stuff and was wondering if anyone could check it works
OK for what they need and that I haven't broken them (interpreter only...)

Bernie Solomon

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: atomic.diff.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030923/3806216f/attachment.txt 


More information about the Mono-devel-list mailing list