Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7861: lockfree freelist doesn't destruct objects until its destructor is called
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-07 09:05:33
#7861: lockfree freelist doesn't destruct objects until its destructor is called
-----------------------------------+----------------------------------------
Reporter: toffaletti@⦠| Owner: timblechmann
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: lockfree
Version: Boost 1.53.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------
Changes (by timblechmann):
* status: new => closed
* resolution: => invalid
Comment:
destructors '''are''' called when nodes are pushed to the freelist.
however your reproducer has 3 problems:
* there is no guarantee that the consumers will pop() all elements
* the queue type does not have a trivial assignment
* the queue type does not have a trivial destructor
feel free to reopen, if you think it is not a problem in your code.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7861#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC