We needed a threadsafe hash map, with the possibility of multiple readers accessing the map at the same time, but only one writer at a time. More...
#include <boost/smart_ptr.hpp>#include <boost/thread/shared_mutex.hpp>#include <boost/thread/mutex.hpp>#include <map>#include <vector>#include <iostream>#include <utility>#include <string>

Go to the source code of this file.
Classes | |
| class | threadsafe::Map< T > |
Namespaces | |
| threadsafe | |
We needed a threadsafe hash map, with the possibility of multiple readers accessing the map at the same time, but only one writer at a time.
Definition in file thread_safe_map.hpp.