mardi 24 mars 2015

thread safety in std::map

Is it safe to use std map without a lock in multi-thread environment? Where It is guaranteed that two threads never be manipulating the same entry in the map.


There is already a question on this but I am particularly interested in the case where multiple threads are accessing different entries in the map. particularly unordered maps.


Aucun commentaire:

Enregistrer un commentaire