Opened 11 years ago

Closed 11 years ago

#5568 closed Bugs (fixed)

singleton_pool doesn't propagate MaxSize value to his pool

Reported by: alvaro.castro.s@… Owned by: Chris Newbold
Milestone: To Be Determined Component: pool
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc:

Description

on singleton_pool.hpp, line 48, when instancing a pool the MaxSize is not propagated to the pool.

As a fix, I just propagate this value (on line 48).

pool_type():p(RequestedSize, NextSize, MaxSize) { }

See the attached document.

Attachments (1)

singleton_pool.hpp (3.4 KB ) - added by alvaro.castro.s@… 11 years ago.
singleton_pool MaxSize propagation

Download all attachments as: .zip

Change History (3)

by alvaro.castro.s@…, 11 years ago

Attachment: singleton_pool.hpp added

singleton_pool MaxSize propagation

comment:1 by John Maddock, 11 years ago

(In [73148]) Update docs to latest AutoIndex version. Fix -Wshadow warnings and update Jamfile to make them errors. Fix singleton_pool to correctly propagate the MaxSize parameter. Refs #5700. Refs #5568.

comment:2 by John Maddock, 11 years ago

Resolution: fixed
Status: newclosed

(In [73495]) Merge updated Pool lib from trunk. Fixes #1252. Fixes #2696. Fixes #4960. Fixes #5526. Fixes #5568. Fixes #5700.

Note: See TracTickets for help on using tickets.