// Random number geerator
-#ifndef __CPPUNIT_MEMORY_RANDOM_GEN_H
-#define __CPPUNIT_MEMORY_RANDOM_GEN_H
+#ifndef CPPUNIT_MEMORY_RANDOM_GEN_H
+#define CPPUNIT_MEMORY_RANDOM_GEN_H
#include <boost/random/mersenne_twister.hpp>
};
} // namespace memory
-#endif // __CPPUNIT_MEMORY_RANDOM_GEN_H
+#endif // CPPUNIT_MEMORY_RANDOM_GEN_H
//$$CDS-header$$
-#ifndef __UNIT_LOCK_NOLOCK_H
-#define __UNIT_LOCK_NOLOCK_H
+#ifndef CDSUNIT_LOCK_NOLOCK_H
+#define CDSUNIT_LOCK_NOLOCK_H
namespace lock {
// Win32 critical section
};
}
-#endif // #ifndef __UNIT_LOCK_NOLOCK_H
+#endif // #ifndef CDSUNIT_LOCK_NOLOCK_H
//$$CDS-header$$
-#ifndef __UNIT_LOCK_WIN32_LOCK_H
-#define __UNIT_LOCK_WIN32_LOCK_H
+#ifndef CDSUNIT_LOCK_WIN32_LOCK_H
+#define CDSUNIT_LOCK_WIN32_LOCK_H
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
} // namespace lock
#endif // defined(_WIN32) || defined(_WIN64)
-#endif // #ifndef __UNIT_LOCK_WIN32_LOCK_H
+#endif // #ifndef CDSUNIT_LOCK_WIN32_LOCK_H
//$$CDS-header$$
-#ifndef _CDSUNIT_MAP2_MAP_DEFS_H
-#define _CDSUNIT_MAP2_MAP_DEFS_H
+#ifndef CDSUNIT_MAP_DEFS_H
+#define CDSUNIT_MAP_DEFS_H
#define CDSUNIT_DECLARE_StdMap \
TEST_MAP(StdMap_Spin) \
CPPUNIT_TEST(CuckooRefinableMap_vector_ord_stat)\
CPPUNIT_TEST(CuckooRefinableMap_vector_ord_storehash)
-#endif // #ifndef _CDSUNIT_MAP2_MAP_DEFS_H
+#endif // #ifndef CDSUNIT_MAP_DEFS_H
//$$CDS-header$$
-#ifndef _CDSUNIT_MAP2_MAP_TYPES_H
-#define _CDSUNIT_MAP2_MAP_TYPES_H
+#ifndef CDSUNIT_MAP_TYPES_H
+#define CDSUNIT_MAP_TYPES_H
#include <cds/urcu/general_instant.h>
#include <cds/urcu/general_buffered.h>
}
} // namespace map2
-#endif // ifndef _CDSUNIT_MAP2_MAP_TYPES_H
+#endif // ifndef CDSUNIT_MAP_TYPES_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_HASH_MAP_GCC_H
-#define __CDSUNIT_STD_HASH_MAP_GCC_H
+#ifndef CDSUNIT_STD_HASH_MAP_GCC_H
+#define CDSUNIT_STD_HASH_MAP_GCC_H
#include <mutex> //unique_lock
#include <unordered_map>
};
} // namespace map2
-#endif // #ifndef __CDSUNIT_STD_HASH_MAP_GCC_H
+#endif // #ifndef CDSUNIT_STD_HASH_MAP_GCC_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_MAP_GCC_H
-#define __CDSUNIT_STD_MAP_GCC_H
+#ifndef CDSUNIT_STD_MAP_GCC_H
+#define CDSUNIT_STD_MAP_GCC_H
#include <map>
#include <mutex> //unique_lock
};
} // namespace map
-#endif // #ifndef __CDSUNIT_STD_MAP_GCC_H
+#endif // #ifndef CDSUNIT_STD_MAP_GCC_H
//$$CDS-header$$
-#ifndef __UNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
-#define __UNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
+#ifndef CDSUNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
+#define CDSUNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
#include <cds/details/bounded_array.h>
#include <cds/atomic.h>
} } // namespace map::nonconcurrent_iterator
-#endif // #ifndef __UNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
+#endif // #ifndef CDSUNIT_NONCONCURRENT_ITERATOR_SEQUENCE_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
-#define __CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
+#ifndef CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
+#define CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
#include <cds/container/ellen_bintree_set_hp.h>
#include <cds/container/ellen_bintree_set_dhp.h>
} // namespace pqueue
-#endif // #ifndef __CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
+#endif // #ifndef CDSUNIT_STD_ELLEN_BINTREE_PQUEUE_H
//$$CDS-header$$
-#ifndef _CDSUNIT_PQUEUE_PQUEUE_DEFS_H
-#define _CDSUNIT_PQUEUE_PQUEUE_DEFS_H
+#ifndef CDSUNIT_PQUEUE_PQUEUE_DEFS_H
+#define CDSUNIT_PQUEUE_PQUEUE_DEFS_H
// MSPriorityQueue
#define CDSUNIT_DECLARE_MSPriorityQueue \
CPPUNIT_TEST(StdPQueue_deque_mutex)
-#endif // #ifndef _CDSUNIT_PQUEUE_PQUEUE_DEFS_H
+#endif // #ifndef CDSUNIT_PQUEUE_PQUEUE_DEFS_H
//$$CDS-header$$
-#ifndef __CDSUNIT_PQUEUE_ITEM_H
-#define __CDSUNIT_PQUEUE_ITEM_H
+#ifndef CDSUNIT_PQUEUE_ITEM_H
+#define CDSUNIT_PQUEUE_ITEM_H
namespace pqueue {
struct SimpleValue {
} // namespace std
-#endif // #ifndef __CDSUNIT_PQUEUE_ITEM_H
+#endif // #ifndef CDSUNIT_PQUEUE_ITEM_H
//$$CDS-header$$
-#ifndef __UNIT_PQUEUE_TYPES_H
-#define __UNIT_PQUEUE_TYPES_H
+#ifndef CDSUNIT_PQUEUE_TYPES_H
+#define CDSUNIT_PQUEUE_TYPES_H
#include <cds/container/mspriority_queue.h>
#include <cds/container/fcpriority_queue.h>
} // namespace std
-#endif // #ifndef __UNIT_PQUEUE_TYPES_H
+#endif // #ifndef CDSUNIT_PQUEUE_TYPES_H
//$$CDS-header$$
-#ifndef __CDSUNIT_SKIPLIST_PQUEUE_H
-#define __CDSUNIT_SKIPLIST_PQUEUE_H
+#ifndef CDSUNIT_SKIPLIST_PQUEUE_H
+#define CDSUNIT_SKIPLIST_PQUEUE_H
#include <cds/container/skip_list_set_hp.h>
#include <cds/container/skip_list_set_dhp.h>
} // namespace pqueue
-#endif // #ifndef __CDSUNIT_SKIPLIST_PQUEUE_H
+#endif // #ifndef CDSUNIT_SKIPLIST_PQUEUE_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_PQUEUE_H
-#define __CDSUNIT_STD_PQUEUE_H
+#ifndef CDSUNIT_STD_PQUEUE_H
+#define CDSUNIT_STD_PQUEUE_H
#include <queue>
#include <mutex> //unique_lock
}
}
-#endif // #ifndef __CDSUNIT_STD_PQUEUE_H
+#endif // #ifndef CDSUNIT_STD_PQUEUE_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_CUCKOO_STAT_H
-#define __UNIT_PRINT_CUCKOO_STAT_H
+#ifndef CDSUNIT_PRINT_CUCKOO_STAT_H
+#define CDSUNIT_PRINT_CUCKOO_STAT_H
#include <cds/intrusive/cuckoo_set.h>
#include <ostream>
} // namespace std
-#endif // #ifndef __UNIT_PRINT_CUCKOO_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_CUCKOO_STAT_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_ELLENBINTREE_STAT_H
-#define __UNIT_PRINT_ELLENBINTREE_STAT_H
+#ifndef CDSUNIT_PRINT_ELLENBINTREE_STAT_H
+#define CDSUNIT_PRINT_ELLENBINTREE_STAT_H
#include "ellen_bintree_update_desc_pool.h"
#include <ostream>
}
}
-#endif // #ifndef __UNIT_PRINT_ELLENBINTREE_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_ELLENBINTREE_STAT_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_MSPRIORITYQUEUE_STAT_H
-#define __UNIT_PRINT_MSPRIORITYQUEUE_STAT_H
+#ifndef CDSUNIT_PRINT_MSPRIORITYQUEUE_STAT_H
+#define CDSUNIT_PRINT_MSPRIORITYQUEUE_STAT_H
#include <cds/container/mspriority_queue.h>
}
}
-#endif // #ifndef __UNIT_PRINT_MSPRIORITYQUEUE_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_MSPRIORITYQUEUE_STAT_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_SEGMENTEDQUEUE_STAT_H
-#define __UNIT_PRINT_SEGMENTEDQUEUE_STAT_H
+#ifndef CDSUNIT_PRINT_SEGMENTEDQUEUE_STAT_H
+#define CDSUNIT_PRINT_SEGMENTEDQUEUE_STAT_H
#include <ostream>
} // namespace std
-#endif // #ifndef __UNIT_PRINT_SEGMENTEDQUEUE_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_SEGMENTEDQUEUE_STAT_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_SKIP_LIST_STAT_H
-#define __UNIT_PRINT_SKIP_LIST_STAT_H
+#ifndef CDSUNIT_PRINT_SKIP_LIST_STAT_H
+#define CDSUNIT_PRINT_SKIP_LIST_STAT_H
#include <cds/intrusive/details/skip_list_base.h>
#include <ostream>
} // namespace std
-#endif // #ifndef __UNIT_PRINT_SKIP_LIST_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_SKIP_LIST_STAT_H
//$$CDS-header$$
-#ifndef __UNIT_PRINT_SPLIT_LIST_STAT_H
-#define __UNIT_PRINT_SPLIT_LIST_STAT_H
+#ifndef CDSUNIT_PRINT_SPLIT_LIST_STAT_H
+#define CDSUNIT_PRINT_SPLIT_LIST_STAT_H
#include <cds/intrusive/details/split_list_base.h>
#include <ostream>
} // namespace std
-#endif // #ifndef __UNIT_PRINT_SKIP_LIST_STAT_H
+#endif // #ifndef CDSUNIT_PRINT_SKIP_LIST_STAT_H
//$$CDS-header$$
-#ifndef __CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
-#define __CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
+#ifndef CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
+#define CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
// MSQueue
#define CDSUNIT_DECLARE_MSQueue \
CPPUNIT_TEST( BoostSList_mutex ) \
CPPUNIT_TEST( BoostSList_spin )
-#endif // #ifndef __CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
+#endif // #ifndef CDSUNIT_INTRUSIVE_QUEUE_DEFS_H
//$$CDS-header$$
-#ifndef __CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
-#define __CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
+#ifndef CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
+#define CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
#include <cds/intrusive/msqueue.h>
#include <cds/intrusive/moir_queue.h>
} // namespace std
-#endif // #ifndef __CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
+#endif // #ifndef CDSUNIT_INTRUSIVE_QUEUE_TYPES_H
//$$CDS-header$$
-#ifndef __CDSUNIT_QUEUE_DEFS_H
-#define __CDSUNIT_QUEUE_DEFS_H
+#ifndef CDSUNIT_QUEUE_DEFS_H
+#define CDSUNIT_QUEUE_DEFS_H
// MoirQueue
#define CDSUNIT_DECLARE_MoirQueue( ITEM_TYPE ) \
CPPUNIT_TEST(StdQueue_list_BoostMutex)
-#endif // #ifndef __CDSUNIT_QUEUE_DEFS_H
+#endif // #ifndef CDSUNIT_QUEUE_DEFS_H
//$$CDS-header$$
-#ifndef __CDSUNIT_QUEUE_TYPES_H
-#define __CDSUNIT_QUEUE_TYPES_H
+#ifndef CDSUNIT_QUEUE_TYPES_H
+#define CDSUNIT_QUEUE_TYPES_H
#include <cds/container/msqueue.h>
#include <cds/container/moir_queue.h>
}
-#endif // #ifndef __CDSUNIT_QUEUE_TYPES_H
+#endif // #ifndef CDSUNIT_QUEUE_TYPES_H
//$$CDS-header$$
-#ifndef __UNIT_QUEUE_STD_QUEUE_H
-#define __UNIT_QUEUE_STD_QUEUE_H
+#ifndef CDSUNIT_QUEUE_STD_QUEUE_H
+#define CDSUNIT_QUEUE_STD_QUEUE_H
#include <mutex> //unique_lock
#include <queue>
{};
}
-#endif // #ifndef __UNIT_QUEUE_STD_QUEUE_H
+#endif // #ifndef CDSUNIT_QUEUE_STD_QUEUE_H
//$$CDS-header$$
-#ifndef _CDSUNIT_SET2_SET_DEFS_H
-#define _CDSUNIT_SET2_SET_DEFS_H
+#ifndef CDSUNIT_SET_DEFS_H
+#define CDSUNIT_SET_DEFS_H
#define CDSUNIT_DECLARE_StdSet \
TEST_SET(StdSet_Spin) \
CDSUNIT_TEST_RefinableSet_boost_container \
CDSUNIT_TEST_RefinableSet_boost_flat_container
-#endif // #ifndef _CDSUNIT_SET2_SET_DEFS_H
+#endif // #ifndef CDSUNIT_SET_DEFS_H
//$$CDS-header$$
-#ifndef _CDSUNIT_SET2_SET_TYPES_H
-#define _CDSUNIT_SET2_SET_TYPES_H
+#ifndef CDSUNIT_SET_TYPES_H
+#define CDSUNIT_SET_TYPES_H
#include <cds/urcu/general_instant.h>
#include <cds/urcu/general_buffered.h>
} // namespace set2
-#endif // ifndef _CDSUNIT_SET2_SET_TYPES_H
+#endif // ifndef CDSUNIT_SET_TYPES_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_HASH_SET_STD_H
-#define __CDSUNIT_STD_HASH_SET_STD_H
+#ifndef CDSUNIT_STD_HASH_SET_H
+#define CDSUNIT_STD_HASH_SET_H
#include <unordered_set>
#include <mutex> //unique_lock
};
} // namespace set2
-#endif // #ifndef __CDSUNIT_STD_HASH_SET_STD_H
+#endif // #ifndef CDSUNIT_STD_HASH_SET_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STD_SET_VC_H
-#define __CDSUNIT_STD_SET_VC_H
+#ifndef CDSUNIT_STD_SET_H
+#define CDSUNIT_STD_SET_H
#include <set>
#include <mutex> //unique_lock
};
} // namespace set2
-#endif // #ifndef __CDSUNIT_STD_MAP_VC_H
+#endif // #ifndef CDSUNIT_STD_MAP_H
//$$CDS-header$$
-#ifndef __CDSUNIT_INTRUSIVE_STACK_DEFS_H
-#define __CDSUNIT_INTRUSIVE_STACK_DEFS_H
+#ifndef CDSUNIT_INTRUSIVE_STACK_DEFS_H
+#define CDSUNIT_INTRUSIVE_STACK_DEFS_H
#define CDSUNIT_DECLARE_TreiberStack \
TEST_CASE( Treiber_HP, cds::intrusive::treiber_stack::node< cds::gc::HP > ) \
CPPUNIT_TEST( StdStack_List_Mutex ) \
CPPUNIT_TEST( StdStack_List_Spin )
-#endif // #ifndef __CDSUNIT_INTRUSIVE_STACK_DEFS_H
+#endif // #ifndef CDSUNIT_INTRUSIVE_STACK_DEFS_H
//$$CDS-header$$
-#ifndef __CDSUNIT_INTRUSIVE_STACK_TYPES_H
-#define __CDSUNIT_INTRUSIVE_STACK_TYPES_H
+#ifndef CDSUNIT_INTRUSIVE_STACK_TYPES_H
+#define CDSUNIT_INTRUSIVE_STACK_TYPES_H
#include <cds/intrusive/treiber_stack.h>
#include <cds/intrusive/fcstack.h>
} // namespace std
-#endif // #ifndef __CDSUNIT_INTRUSIVE_STACK_TYPES_H
+#endif // #ifndef CDSUNIT_INTRUSIVE_STACK_TYPES_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STACK_DEFS_H
-#define __CDSUNIT_STACK_DEFS_H
+#ifndef CDSUNIT_STACK_DEFS_H
+#define CDSUNIT_STACK_DEFS_H
#define CDSUNIT_DECLARE_TreiberStack \
TEST_CASE( Treiber_HP ) \
CPPUNIT_TEST( StdStack_List_Mutex ) \
CPPUNIT_TEST( StdStack_List_Spin )
-#endif // #ifndef __CDSUNIT_STACK_DEFS_H
+#endif // #ifndef CDSUNIT_STACK_DEFS_H
//$$CDS-header$$
-#ifndef __CDSUNIT_STACK_TYPES_H
-#define __CDSUNIT_STACK_TYPES_H
+#ifndef CDSUNIT_STACK_TYPES_H
+#define CDSUNIT_STACK_TYPES_H
#include <cds/container/treiber_stack.h>
#include <cds/container/fcstack.h>
} // namespace std
-#endif // #ifndef __CDSUNIT_STACK_TYPES_H
+#endif // #ifndef CDSUNIT_STACK_TYPES_H