diff options
author | Finn Williams <Finn.Williams@arm.com> | 2019-12-03 11:55:31 +0000 |
---|---|---|
committer | Finn Williams <Finn.Williams@arm.com> | 2019-12-04 11:47:50 +0000 |
commit | 73ae7fa28d05babde16fa232c1d823b35c893e3e (patch) | |
tree | 002138055eec225f2017c37cca9dcac6400f6cc0 /src/profiling/SendCounterPacket.hpp | |
parent | 811ca5566ac4a166fb4d8d8ee4f235dda59b1eab (diff) | |
download | armnn-73ae7fa28d05babde16fa232c1d823b35c893e3e.tar.gz |
IVGCVSW-4221 Fix SendCounterPacket hanging for indefinite time
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I612f4d0162e7f35296f7d484350a937f6344fcfb
Diffstat (limited to 'src/profiling/SendCounterPacket.hpp')
-rw-r--r-- | src/profiling/SendCounterPacket.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profiling/SendCounterPacket.hpp b/src/profiling/SendCounterPacket.hpp index 42e84323e4..11587552b8 100644 --- a/src/profiling/SendCounterPacket.hpp +++ b/src/profiling/SendCounterPacket.hpp @@ -109,6 +109,8 @@ private: std::thread m_SendThread; std::atomic<bool> m_IsRunning; std::atomic<bool> m_KeepRunning; + // m_ReadyToRead will be protected by m_WaitMutex + bool m_ReadyToRead; std::exception_ptr m_SendThreadException; std::mutex m_PacketSentWaitMutex; std::condition_variable m_PacketSentWaitCondition; |