Made Lock and Unlock functions public.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@782 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2006-11-21 01:32:26 +00:00
parent 1ecc9448b9
commit d560a3f491

View file

@ -623,6 +623,18 @@ private:
class LOKI_EXPORT LockableTwoRefCounts
{
public:
inline void Lock( void ) const
{
m_counts->Lock();
}
inline void Unlock( void ) const
{
m_counts->Unlock();
}
protected:
explicit LockableTwoRefCounts( bool strong );
@ -635,16 +647,6 @@ protected:
Increment( strong );
}
inline void Lock( void ) const
{
m_counts->Lock();
}
inline void Unlock( void ) const
{
m_counts->Unlock();
}
inline bool Release( bool strong )
{
return Decrement( strong );