Lock mark processing skeleton.

This commit is contained in:
Bartosz Taudul 2017-10-06 17:05:14 +02:00
parent 9736be0321
commit 695b0426bf
2 changed files with 9 additions and 0 deletions

View File

@ -411,6 +411,9 @@ void View::Process( const QueueItem& ev )
case QueueType::LockRelease:
ProcessLockRelease( ev.lockRelease );
break;
case QueueType::LockMark:
ProcessLockMark( ev.lockMark );
break;
default:
assert( false );
break;
@ -560,6 +563,11 @@ void View::ProcessLockRelease( const QueueLockRelease& ev )
}
}
void View::ProcessLockMark( const QueueLockMark& ev )
{
std::lock_guard<std::mutex> lock( m_lock );
}
void View::CheckString( uint64_t ptr )
{
if( m_strings.find( ptr ) != m_strings.end() ) return;

View File

@ -68,6 +68,7 @@ private:
void ProcessLockWait( const QueueLockWait& ev );
void ProcessLockObtain( const QueueLockObtain& ev );
void ProcessLockRelease( const QueueLockRelease& ev );
void ProcessLockMark( const QueueLockMark& ev );
void CheckString( uint64_t ptr );
void CheckThreadString( uint64_t id );