Boost logo

Boost :

From: Kim Barrett (kab_at_[hidden])
Date: 2006-02-12 22:31:39


At 11:42 PM +0100 2/12/06, Pavel Vozenilek wrote:
>"Kim Barrett" wrote:
>
>> The object allocation mechanisms provided by shmem are, surprise,
>> dynamic allocation. If a system design forbids dynamic allocation,
>> there is nothing magical about the shmem library's allocation
>> mechanisms that would make it more acceptable in such a system.
>>
>
>shmem, being so limited, may provide lower
>and easier to estimate upper limits than
>dynamic allocation provided by OS/compiler RTL.

The shmem allocators are probably inappropriate for that. For one thing,
they are designed so that their internal data structures can live in
shared memory, using offset_ptr and the like. That's just unnecessary
overhead if one isn't actually using shared memory. It is also
irrelevant to the two-phase vs RAII construction question for the
shared memory objects.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk