Boost logo

Boost Users :

Subject: [Boost-users] Boost:interprocess 1.36.0 - Minimum size for a shared memory segment
From: Federico Golfrè Andreasi (federico.golfre_at_[hidden])
Date: 2009-02-03 08:11:48


Hi !

       which is the minimum number of bytes I have to allocate to construct
a managed shared memory? Or how can I calculate it?
I did some tests and I believe is 112 bytes for 32 bit machines and 224
bytes for 64 bit, am I right ?

And for the allocators?

What I want to do is set the size of the shared memory smaller than I can,
knowing the dimension of the variables
I want to put in; even if the code is compiled in 64 bit or 32 bit machines.

Thank you,
         Federico



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net