diff options
Diffstat (limited to 'include/comphelper/sharedmutex.hxx')
-rw-r--r-- | include/comphelper/sharedmutex.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/comphelper/sharedmutex.hxx b/include/comphelper/sharedmutex.hxx index a7282e291825..03397d6bed61 100644 --- a/include/comphelper/sharedmutex.hxx +++ b/include/comphelper/sharedmutex.hxx @@ -26,14 +26,14 @@ #include <boost/shared_ptr.hpp> -//........................................................................ + namespace comphelper { -//........................................................................ - //============================================================ + + //= SharedMutex - //============================================================ + class COMPHELPER_DLLPUBLIC SharedMutex { public: @@ -51,9 +51,9 @@ namespace comphelper ::boost::shared_ptr< ::osl::Mutex > m_pMutexImpl; }; - //============================================================ + //= SharedMutexBase - //============================================================ + /** sometimes, it's necessary to have an initialized ::osl::Mutex to pass to some ctor call of your base class. In this case, you can't hold the SharedMutex as member, but you need to move it into another base class, @@ -77,9 +77,9 @@ namespace comphelper mutable SharedMutex m_aMutex; }; -//........................................................................ + } // namespace comphelper -//........................................................................ + #endif // INCLUDED_COMPHELPER_SHAREDMUTEX_HXX |