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:
parent
e7515baadb
commit
0860583a99
1 changed files with 8 additions and 0 deletions
|
@ -670,6 +670,14 @@ bool LevelMutexInfo::IsLockedByCurrentThreadImpl( void ) const
|
|||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool LevelMutexInfo::IsNotLockedByCurrentThread( void ) const volatile
|
||||
{
|
||||
const LevelMutexInfo * pThis = const_cast< const LevelMutexInfo * >( this );
|
||||
return pThis->IsNotLockedByCurrentThread();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool LevelMutexInfo::IsNotLockedByCurrentThread( void ) const
|
||||
{
|
||||
if ( !IsLocked() )
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue