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
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
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk