Subject: [Boost-bugs] [Boost C++ Libraries] #7767: lockfree queue allocation problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-05 09:31:24
#7767: lockfree queue allocation problem
----------------------------------------+-----------------------------------
Reporter: pn.suzuki.kojiro@⦠| Owner: timblechmann
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lockfree
Version: Boost Development Trunk | Severity: Problem
Keywords: |
----------------------------------------+-----------------------------------
The default constructor of boost::lockfree::queue<int>[[BR]]
try to allocate 0xffffffffffffffff elements for pool.
Revision: 81719, queue.hpp, line 154
{{{
pool(node_allocator(), capacity)
}}}
"capacity" is 0xffffffffffffffff in my environment(VS 2012 Express for
Desktop).
The other constructors works fine.
The problem occurred on both of 32bit and 64bit.[[BR]]
(in 32bit, the "capacity" was 0xffffffff)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7767> 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