mirror of https://gitee.com/bigwinds/arangodb
issue #582: ifdef'd unused feature
This commit is contained in:
parent
77be290767
commit
aa4aa7bf95
|
@ -38,6 +38,7 @@
|
|||
#include "VocBase/index.h"
|
||||
#include "VocBase/transaction.h"
|
||||
|
||||
#ifdef TRI_SKIPLIST_EX
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -995,6 +996,8 @@ static int ExciseNodeSwapPointersUndo(linked_list_node_t* nodeToExcise, linked_l
|
|||
/// @}
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif
|
||||
|
||||
// Local Variables:
|
||||
// mode: outline-minor
|
||||
// outline-regexp: "/// @brief\\|/// {@inheritDoc}\\|/// @addtogroup\\|/// @page\\|// --SECTION--\\|/// @\\}"
|
||||
|
|
|
@ -553,7 +553,7 @@ void TRI_UnlockCondition (TRI_condition_t* cond) {
|
|||
|
||||
|
||||
|
||||
|
||||
#ifdef TRI_SKIPLIST_EX
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// COMPARE & SWAP operations below for MAC and GNUC
|
||||
|
@ -678,6 +678,8 @@ bool TRI_ComparePointer(void* volatile* theValue, void* oldValue) {
|
|||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @}
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -900,6 +900,7 @@ void TRI_UnlockCondition (TRI_condition_t* cond) {
|
|||
}
|
||||
|
||||
|
||||
#ifdef TRI_SKIPLIST_EX
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// COMPARE & SWAP operations below for windows
|
||||
|
@ -966,6 +967,7 @@ bool TRI_ComparePointer(void* volatile* theValue, void* oldValue) {
|
|||
return ( InterlockedCompareExchangePointer(theValue, oldValue, oldValue) == oldValue );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @}
|
||||
|
|
|
@ -386,6 +386,7 @@ void TRI_UnlockCondition (TRI_condition_t* cond);
|
|||
/// @{
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef TRI_SKIPLIST_EX
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief performs an atomic compare and swap operation on a 32bit integer.
|
||||
|
@ -451,6 +452,7 @@ bool TRI_ComparePointer(void* volatile* theValue, void* oldValue);
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @}
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue