Boost logo

Boost Users :

From: Eduardo Panisset (eduardo.panisset_at_[hidden])
Date: 2008-08-17 11:45:14


On Sun, Aug 17, 2008 at 12:04 AM, Felipe Magno de Almeida <
felipe.m.almeida_at_[hidden]> wrote:

> On Sat, Aug 16, 2008 at 10:54 PM, Eduardo Panisset
> <eduardo.panisset_at_[hidden]> wrote:
> > On Sat, Aug 16, 2008 at 9:32 PM, David Abrahams <dave_at_[hidden]>
> wrote:
>
> [snip]
>
> > I could have one thread calling a clear method of std::vector, while
> another
> > thread was copying a shared_ptr placed in the same std::vector.
>
> That would mean you would be sharing the std::vector, which is usually not
> allowed. You should synchronize the std::vector.
>
Ok Felipe,

Thank you !



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net