Skip to content
Snippets Groups Projects
Commit 56012527 authored by James David Berry's avatar James David Berry
Browse files

Pending further discussion, comment out the public interface to atomicIncrement and atomicDecrement

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@634758 13f79535-47bb-0310-9956-ffa450edef68
parent 6c5ef876
No related branches found
No related tags found
No related merge requests found
......@@ -807,6 +807,7 @@ void* XMLPlatformUtils::compareAndSwap(void** toFill
}
/* 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 @@ int XMLPlatformUtils::atomicDecrement(int &location)
return fgAtomicOpMgr->decrement(location);
}
*/
......
......@@ -662,8 +662,10 @@ public :
* 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 @@ public :
* 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);
*/
//@}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment