From f42d52923a71bb93114968f9db3128814307aa44 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 16 Dec 2018 20:39:30 +0100 Subject: [PATCH] No-op processing of lock terminate events. --- server/TracyWorker.cpp | 7 +++++++ server/TracyWorker.hpp | 1 + 2 files changed, 8 insertions(+) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 8d0fe7df..6646f81e 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -1951,6 +1951,9 @@ void Worker::Process( const QueueItem& ev ) case QueueType::LockAnnounce: ProcessLockAnnounce( ev.lockAnnounce ); break; + case QueueType::LockTerminate: + ProcessLockTerminate( ev.lockTerminate ); + break; case QueueType::LockWait: ProcessLockWait( ev.lockWait ); break; @@ -2237,6 +2240,10 @@ void Worker::ProcessLockAnnounce( const QueueLockAnnounce& ev ) CheckSourceLocation( ev.lckloc ); } +void Worker::ProcessLockTerminate( const QueueLockTerminate& ev ) +{ +} + void Worker::ProcessLockWait( const QueueLockWait& ev ) { auto it = m_data.lockMap.find( ev.id ); diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 71437844..3eb28a16 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -284,6 +284,7 @@ private: tracy_force_inline void ProcessZoneText( const QueueZoneText& ev ); tracy_force_inline void ProcessZoneName( const QueueZoneText& ev ); tracy_force_inline void ProcessLockAnnounce( const QueueLockAnnounce& ev ); + tracy_force_inline void ProcessLockTerminate( const QueueLockTerminate& ev ); tracy_force_inline void ProcessLockWait( const QueueLockWait& ev ); tracy_force_inline void ProcessLockObtain( const QueueLockObtain& ev ); tracy_force_inline void ProcessLockRelease( const QueueLockRelease& ev );