Boost logo

Boost :

From: Calum Grant (calum_at_[hidden])
Date: 2005-09-30 13:22:32


> The one killer limitation of shmem (that I'm pretty sure Ion
> is working hard to remove) is that the shared memory region
> cannot be grown once it has been created. This is where your
> memory-mapped "persist" library has a leg up.

Yes - Persist's approach is to manage a pool of memory blocks rather
than to allocate one huge one. So resizing isn't an issue. This
approach could of course be used with Shmem as well. In fact I think
many memory allocators allocate the heap in chunks rather than assume
it's contiguous.

Calum


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