Opened 11 years ago
Last modified 10 years ago
#6610 new Feature Requests
customizing boost::pool/boost::object_pool via template parameter for ordered/non-ordered usage
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | pool |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: | rad_d@… |
Description
1. A documentation conflict between declaration and definition of boost::pool::purge_memory(). The definition documentation is
//! pool must be ordered
, but the declaration documentation does not provide this information.
2. Version of non-ordered boost::pool::release_memory()
Thereby there is the question - are there any differences in implementation or perfomance of ordered/non-ordered versions of this function?
3. Providing ordered/non-ordered release_memory() and purge_memory() for boost::object_pool
4. Efficient(non-ordered) construct/destroy of single objects in boost::object_pool(i.e. when boost::object_pool will be used for allocating single objects only, not arrays of objects)
5. Introduce some template parameter in the boost::object_pool(and in the boost::pool) in order to customize the pool for ordered/non-ordered or both usage.
Change History (6)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
So, I agree with you. The behaviour as described in your comment in ticket #3789 is what I expected.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
https://svn.boost.org/svn/boost/sandbox/pool at revision 79460 contains a solution for tickets #3789, #5902, #6561, #6610, #6701, #6718, #6865 and #6867. Related test cases are also present.
https://svn.boost.org/svn/boost/sandbox/pool at revision 79460 does not contain any other new features or modifications other than those related to the above tickets.
Boost.Pool currently has no maintainer and is thus orphaned.
Any comments ?