From: <ric...@us...> - 2012-04-03 05:45:29
|
Revision: 1182 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1182&view=rev Author: rich_sposato Date: 2012-04-03 05:45:23 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Added overloaded version of file. Modified Paths: -------------- trunk/src/LevelMutex.cpp Modified: trunk/src/LevelMutex.cpp =================================================================== --- trunk/src/LevelMutex.cpp 2012-04-02 06:07:08 UTC (rev 1181) +++ trunk/src/LevelMutex.cpp 2012-04-03 05:45:23 UTC (rev 1182) @@ -671,6 +671,14 @@ 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |