Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread Safety of shared_ptr
From: Kevin Frey (kfrey_at_[hidden])
Date: 2011-05-03 00:15:15


> shared_ptr< Session >* is not a shared ptr, it is a RAW ptr to
shared_ptr< Session>.

Yes, I know this. The pointer you call the RAW pointer is owned only by
one object. It doesn't make the implementation wrong.

My issue concerns the addref/decref behaviour that occurs simultaneously
within two different threads.


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