Debian Codegraph @

tests/parallel_flat_hash_map_mutex_test.cc

raw
1 #define THIS_HASH_MAP parallel_flat_hash_map
2 #define THIS_TEST_NAME ParallelFlatHashMap
3
4 #if 1
5 #define THIS_EXTRA_TPL_PARAMS , 4, std::mutex
6 #else
7 #include <boost/thread/locks.hpp>
8 #include <boost/thread/shared_mutex.hpp>
9 #define THIS_EXTRA_TPL_PARAMS , 4, boost::upgrade_mutex
10 #endif
11
12 #define THIS_EXTRA_TPL_PARAMS_NULLMUTEX , 4, phmap::NullMutex
13
14 #include "parallel_hash_map_test.cc"