[Ace-users] [ace-users] Problem with shared memory backing store

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Nov 2 07:04:26 CDT 2007


Hi Praveen,

> I got your mail ID from ACE source code. We have an issue, I think you can help me on this regard.

Thanks very much for your email.  Please make sure to send all
questions related to TAO or ACE to the ACE mailing list or ACE+TAO
newsgroup, rather than to me directly since I travel frequently and
often don't have ready access to email.  See

http://www.cs.wustl.edu/~schmidt/ACE-mail.html

for more info on how to access these resources.

>  Right now we are using ACE shared memory for our applications. 
>
> We are using position independent allocator for shared memory
>  
> ACE_MMAP_Memory_Pool_Options options( 0, ACE_MMAP_Memory_Pool_Options::NEVER_FIXED, FILE_SHARE_READ | FILE_SHARE_WRITE |
> FILE_SHARE_DELETE ); 
> g_pAllocator = new ALLOCATOR( IPC_SM_BACKING_STORE, IPC_SM_BACKING_STORE, &options );
> 
> According to our requirement we have to remove the backing store file
> after closing applications. i.e. we don't need a persistence in shared
> memory. Is there any options to do the same in ACE?
> 
> We are glad if there is any shared memory creations without disk file.


To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form (PRF),
which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

Thanks,

        Doug



More information about the Ace-users mailing list