summaryrefslogtreecommitdiff
path: root/cppuhelper/inc
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2000-10-06 14:15:09 +0000
committerDaniel Boelzle <dbo@openoffice.org>2000-10-06 14:15:09 +0000
commitb11926a7a02ac26273eae8bc114a47d577e3ebcc (patch)
tree8b68b7d079f82bd99bfb46ed4e805debfa8dc839 /cppuhelper/inc
parent52308925aba83cc19cfcf6c01f110e225aceae1a (diff)
avoid use of global mutex
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r--cppuhelper/inc/cppuhelper/implbase.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/cppuhelper/inc/cppuhelper/implbase.hxx b/cppuhelper/inc/cppuhelper/implbase.hxx
index 3d8696df1ffd..f023de0c0730 100644
--- a/cppuhelper/inc/cppuhelper/implbase.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: implbase.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:26:09 $
+ * last change: $Author: dbo $ $Date: 2000-10-06 15:15:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -109,6 +109,8 @@ struct ClassData : public ClassDataBase
::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId();
};
+//==================================================================================================
+::osl::Mutex & SAL_CALL getImplHelperInitMutex(void);
}
//
@@ -136,7 +138,7 @@ protected: \
ClassData & rCD = * static_cast< ClassData * >( &s_aCD ); \
if (! rCD.bOffsetsInit) \
{ \
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); \
+ ::osl::MutexGuard aGuard( getImplHelperInitMutex() ); \
if (! rCD.bOffsetsInit) \
{ \
char * pBase = (char *)this;