
7 Mar
2007
7 Mar
'07
9:19 p.m.
Shibu Bera wrote:
Thanks a lot for the reply..... but, if shared memory is created with the class fixed_managed_shared_memory..? There is a method in the class get_address() which returns base address of the shared memory. Suppose if I memset this pointer, then initial mapping information kept inside the shared memory (map tree created by segment_manager and memory_algorithm) will also be lost. Please tell me any clue about this problem..?
Well, when fixed_managed_shared_memory is created, the memory is zeroed and after that, the map tree is created. Why do you want to memset all the segment to a particular value? I will need a bit more information of your needs. Regards, Ion