Boost logo

Boost :

Subject: [boost] boost::lockfree::spsc_queue and destructors
From: Taylor Holliday (taylor_at_[hidden])
Date: 2013-08-03 13:48:34


Hey Boost,

  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?

thanks!
- Taylor


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