Author: jberry
Date: Fri Mar  7 09:52:07 2008
New Revision: 634758

URL: http://svn.apache.org/viewvc?rev=634758&view=rev
Log:
Pending further discussion, comment out the public interface to atomicIncrement 
and atomicDecrement

Modified:
    xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp
    xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp

Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp?rev=634758&r1=634757&r2=634758&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp Fri Mar  7 09:52:07 2008
@@ -807,6 +807,7 @@
 }
 
 
+/* These two routines are disabled pending further comment. They are unused in 
Xerces at present.
 int XMLPlatformUtils::atomicIncrement(int &location)
 {
     if (!fgAtomicOpMgr)
@@ -823,7 +824,7 @@
 
        return fgAtomicOpMgr->decrement(location);
 }
-
+*/
 
 
 

Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp?rev=634758&r1=634757&r2=634758&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp Fri Mar  7 09:52:07 2008
@@ -662,8 +662,10 @@
       * zero case, the value returned may differ from the actual result of
       * the operation - only the sign and zero/nonzero state is guaranteed
       * to be correct.
-      */
+      
+      * disabled for now pending further comment (unused)
     static int atomicIncrement(int& location);
+      */
 
     /** Decrements a single word variable atomically.
       *
@@ -683,8 +685,10 @@
       * zero case, the value returned may differ from the actual result of the
       * operation - only the sign and zero/nonzero state is guaranteed to be
       * correct.
-      */
+      
+      * disabled for now pending further comment (unused)
     static int atomicDecrement(int& location);
+      */
 
     //@}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to