
17 Sep
2009
17 Sep
'09
4:58 p.m.
Anatoly Pinchuk <appinchuk <at> gmail.com> writes:
Possible traversal and modifications of a safe container iterators list inside safe_mode::detach_equivalent_iterators function are not protected with locking like the following one in safe_iterator_base::detach function [...]
Hi Anatoly, Yep, safe_mode::detach_equivalent_iterators is not mutex-protected, but this is not an error: this function is called only in the context of erase and update operations, where no concurrent access to the container is allowed. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo