boost::lockfree::spsc_queue and destructors
3 Aug
2013
3 Aug
'13
5:48 p.m.
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
3 Aug
3 Aug
5:58 p.m.
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?
4134
Age (days ago)
4134
Last active (days ago)
1 comments
2 participants
participants (2)
-
Taylor Holliday
-
Tim Blechmann