incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: [PATCH] STDCXX-11: IA64 32-bit atomic operations broken
Date Fri, 05 Aug 2005 01:29:37 GMT
Nicole Willson wrote:
> Ok, apparently attachments are not allowed on this list.  So, here it
> is:

Thanks!

I assume atomic.s also needs to be changed to conditionally #include
this file. With that the core dump in STDCXX-11 indeed goes away. Cool!

Comparing the two atomic-ia64 files, I see that this one is missing the
__rw_atomic_xxx64() functions. They are needed to atomically manipulate
long longs. I added them to your patch. To enable them I also changed
include/rw/_mutex.h and added the corresponding overloads of the
__rw_atomic_pre{inc,dec}rement() and __rw_atomic_exchange() for long
long. You might want to do the same on your branch.

Here's the svn commit:
http://svn.apache.org/viewcvs.cgi?rev=230382&view=rev

Martin

Mime
View raw message