Boost logo

Boost Users :

Subject: [Boost-users] Regarding address specified in fixed managed shared memory
From: Hector Troy (boost.hector_at_[hidden])
Date: 2009-10-03 20:19:01


Hi,

I am trying to use Boost Interprocess library's fixed managed shared
memory. The Boost documentation has given an example of fixed managed
shared memory with an address
of 0x30000000 .

fixed_managed_shared_memory segment (open_only
,"MyFixedAddressSharedMemory" ,(void*)0x30000000 )

My question is how can we gaurentee that this address would be
available in the process that would be mapping the shared memory to
its address space.

What would happen in that case ?

Thanks,



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