Files
parallel-hashmap/tests/parallel_flat_hash_map_mutex_test.cc
T
Brian McKinnon bf7203b3c8 Renamed the thread-safe "contains" to if_contains.
Add tests to parallel_flat_hash_map_mutex_test
2020-05-02 20:45:46 -05:00

13 lines
340 B
C++

#define THIS_HASH_MAP parallel_flat_hash_map
#define THIS_TEST_NAME ParallelFlatHashMap
#if 1
#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 "parallel_hash_map_test.cc"