22#include <osl/interlck.h>
23#include <osl/mutex.hxx>
57 if ( osl_atomic_decrement( &
m_refCount ) == 0 )
ShareGuard & operator=(const ShareGuard &)=delete
ShareableMutex & m_rShareMutex
ShareGuard(ShareableMutex &rShareMutex)
This acts like a rtl::Reference<osl::Mutex>
ShareableMutex & operator=(const ShareableMutex &rShareableMutex)
void acquire()
acquire the shared mutex
void release()
release the shared mutex
oslInterlockedCount m_refCount