[Ace-users] Mutex

kulg123 at gmail.com kulg123 at gmail.com
Wed Feb 27 04:17:31 CST 2008

On Feb 27, 12:17 pm, schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
> Hi,
> 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
> or in
> 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.
> > right now i m using hash map for some application and needs the
> > correct syncronization betwween a single writer and 2 readers.I read
> > about the RW_thread_mutex.Is there any example for the same.
> There are examples of ACE_RW_Thread_Mutex and examples of ACE_Hash_Map_Manager in
> ACE_ROOT/tests/
> Take care,
>      Doug
> --
> Dr. Douglas C. Schmidt                       Professor and Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Vanderbilt University                        WEB:www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203                          NET: d.schm... at vanderbilt.edu

Thanks for the help
There is a client which is writing and readers reading. I m tring to
synchronize it using ACE_RW_Process_mutex .
I have given the name LIKE THIS

static const ACE_TCHAR * Mutexname=ACE_TEXT("hash-Map-Mutex")

ACE_RW_Process_mutex *RWMutex

RWMutex = new ACE_RW_Process_mutex(USYNC_PROCESS,Mutexname)

But when i run this it does take the name correctly.

Please let me know how to go for this ACE_RW_Process_mutex  named one.

More information about the Ace-users mailing list