Boost logo

Boost Users :

Subject: [Boost-users] How to use the shared region in append mode
From: manish4gupta (manish_at_[hidden])
Date: 2009-09-30 05:03:37


First of all i would like to thank for previous answers. Now i am able to use
the shared region to create a map, insert value into shared map and use the
shared map. Now moving one step ahead. I am planning to use the shared
region in append mode. For instance

1. create shared region if it is not used before // how
to check this ?
   managed_shared_memory segment(create_only,MySharedMemory, 999999999);
2. create map in the region
// done
3. open the map and use the map for retrieving and inserting values //done

How i can that the given region already allocated to map so that i can
insert the value in it otherwise i can create the that region and create tha
map and insert the value in the map.

Thanks in advance.

-- 
View this message in context: http://www.nabble.com/How-to-use-the-shared-region-in-append-mode-tp25677408p25677408.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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