Added overloaded version of file.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1182 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2012-04-03 05:45:23 +00:00
parent e7515baadb
commit 0860583a99

View file

@ -670,6 +670,14 @@ bool LevelMutexInfo::IsLockedByCurrentThreadImpl( void ) const
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
bool LevelMutexInfo::IsNotLockedByCurrentThread( void ) const volatile bool LevelMutexInfo::IsNotLockedByCurrentThread( void ) const volatile
{
const LevelMutexInfo * pThis = const_cast< const LevelMutexInfo * >( this );
return pThis->IsNotLockedByCurrentThread();
}
// ----------------------------------------------------------------------------
bool LevelMutexInfo::IsNotLockedByCurrentThread( void ) const
{ {
if ( !IsLocked() ) if ( !IsLocked() )
return true; return true;