mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
14 lines
357 B
C++
14 lines
357 B
C++
#define THIS_HASH_MAP parallel_flat_hash_map
|
|
#define THIS_TEST_NAME ParallelFlatHashMap
|
|
|
|
#if 1
|
|
#include <mutex>
|
|
#define THIS_EXTRA_TPL_PARAMS , 4, std::mutex
|
|
#else
|
|
#include <boost/thread/locks.hpp>
|
|
#include <boost/thread/shared_mutex.hpp>
|
|
#define THIS_EXTRA_TPL_PARAMS , 4, boost::upgrade_mutex
|
|
#endif
|
|
|
|
#include "flat_hash_map_test.cc"
|