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