multithreading - Is it safe to read a single c++ std::map object by different threads simultaneously without synchronization mechanisms? -


I have a global object that has many C ++ std :: map objects. This object is considered to be read only in multithreaded environments. But I'm not sure whether there is any work to write when the IDE Visual Studio 2008 is being read within the implementation of a C + + std :: map object std :: map. Should I provide some synchronization mechanism for reading tasks?

Yes it will be okay, no one is written on the map. See here for full details.


Comments