=================
Simple implementation of the concurrent thread-safe map with exclusive access to the entries on C++11.
src/concurrent_map
contains all the implementation intoconcurrent_map.h
file and the example into main.cpp;src/test
contains Google C++ Testing Framework tests.
Use CMake:
> mkdir build
> cd build
> cmake ..
> make -j8
> concurrent_map
...
For testing purposes this project uses Google C++ Testing Framework. To enable tests you should define ENABLE_TESTS=ON
variable:
> cmake -DENABLE_TESTS=ON ..
> make -j8
> ./concurrent_map_test
...