Boost logo

Boost :

Subject: Re: [boost] boost::lockfree::spsc_queue and destructors
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-08-03 13:58:25


> I was passing some shared_ptrs between threads using a
> boost::lockfree::spsc_queue and it would seem that the shared_ptr
> destructor isn't called upon popping from the queue. So spsc_queue
> differs from a typical queue in that regard. Why is that?

afaict, i recently fixed this. can you try boost.lockfree from trunk?




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk