$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [multi_index] Missing mutex lock?
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2009-09-17 12:58:09
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