Author: sebor
Date: Thu Sep 29 17:39:11 2005
New Revision: 292590
URL: http://svn.apache.org/viewcvs?rev=292590&view=rev
Log:
2005-09-29 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-43
* _mutex.h (__rw_atomic_preincrement): Eliminated a typo introduced
in revision #292352 into code conditionally compiled on AIX with VAC++.
Modified:
incubator/stdcxx/trunk/include/rw/_mutex.h
Modified: incubator/stdcxx/trunk/include/rw/_mutex.h
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_mutex.h?rev=292590&r1=292589&r2=292590&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_mutex.h (original)
+++ incubator/stdcxx/trunk/include/rw/_mutex.h Thu Sep 29 17:39:11 2005
@@ -881,7 +881,8 @@
inline unsigned
__rw_atomic_preincrement (unsigned &__x, bool)
{
- return __rw_atomic_preincrement (_RWSTD_REINTERPRET_CAST (int&, __x));
+ return __rw_atomic_preincrement (_RWSTD_REINTERPRET_CAST (int&, __x),
+ false);
}
@@ -891,6 +892,7 @@
return fetch_and_add(&__x,-1) - 1;
}
+
inline unsigned
__rw_atomic_predecrement (unsigned &__x, bool)
{
@@ -936,6 +938,7 @@
false);
}
+
inline long
__rw_atomic_predecrement (long &__x, bool)
{
@@ -949,6 +952,7 @@
return __rw_atomic_predecrement (_RWSTD_REINTERPRET_CAST (long&, __x),
false);
}
+
inline long
__rw_atomic_exchange (long &__x, long __y, bool)