[Ace-users] [ace-users] mutex

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Feb 27 07:04:00 CST 2008


Hi,

>There is a client which is writing and readers reading. I m tring to
>synchronize it using ACE_RW_Process_mutex .

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


>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.
>The syncronization is not happening properly.
>
>
>
>


-- 
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.schmidt at vanderbilt.edu



More information about the Ace-users mailing list