=================
Simple implementation of the concurrent thread-safe map with exclusive access to the entries on C++11.
src/concurrent_mapcontains all the implementation intoconcurrent_map.hfile and the example into main.cpp;src/testcontains 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
...