## NAME

ACE_RW_Mutex - Wrapper for readers/writer locks.

## SYNOPSIS

    #include <ace/Synch.h>

    class ACE_RW_Mutex
    {
      public:
        ACE_RW_Mutex (
            int type = USYNC_THREAD,
            LPCTSTR name = 0,
            void *arg = 0
            );
        ~ACE_RW_Mutex (void);
        int remove (void);
        int acquire_read (void);
        int acquire_write (void);
        int tryacquire_read (void);
        int tryacquire_write (void);
        int acquire (void);
        int tryacquire (void);
        int release (void);
        const ACE_rwlock_t &lock (void) const;
        void dump (void) const;
        ACE_ALLOC_HOOK_DECLARE;
      protected:
        ACE_rwlock_t lock_;
        int removed_;
      private:
        void operator= (const ACE_RW_Mutex &);
        ACE_RW_Mutex (const ACE_RW_Mutex &);
    };

## DESCRIPTION

Wrappers for various synchronization routines.

## Prevent assignment and initialization.

    void operator= (const ACE_RW_Mutex &);

    ACE_RW_Mutex (const ACE_RW_Mutex &);

## AUTHOR

Doug Schmidt

## LIBRARY

ace