Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-07-07 04:08:31

Bugs item #1518563, was opened at 2006-07-07 01:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Shmem serious bugs

Initial Comment:

these are the 2 things I have found so far using the
shmem lib.

My understading is that this is not yet a boost
library but it has been accepted to become one in the
near future. Accept my apologies if I shouldn´t had
posted here.

 1) If you try to use a node allocator with a
fixed_named_shared_object it won't compile. Works fine
for non fixed segments.

 2) If you concatenate with the '+=' operator a
boost::string with a NULL terminated str (char *) in a
loop up to N times, you get bad_alloc sooner than if
you do a single allocation of the same lenght of the N
previous allocations. So concatenating is wasting
memory somehow, as you can allocate longer strings
with a single allocation than with N equivalent


(bblasi at jblasi dot com)


You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at