From f7a07d5ec818fa8a8bafb64674142c779a9a5027 Mon Sep 17 00:00:00 2001 From: rachytski Date: Fri, 8 Feb 2013 16:51:30 +0300 Subject: [PATCH] fixed deadlock in CoverageGenerator related to Wait/Signal logic in ThreadedList --- base/threaded_list.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/threaded_list.hpp b/base/threaded_list.hpp index 5d97f98ab5..fe168ff264 100644 --- a/base/threaded_list.hpp +++ b/base/threaded_list.hpp @@ -35,7 +35,7 @@ public: m_isEmpty = !hasElements; if (!hadElements && hasElements) - m_Cond.Signal(); + m_Cond.Signal(true); } void PushBack(T const & t) @@ -48,7 +48,7 @@ public: m_isEmpty = false; if (doSignal) - m_Cond.Signal(); + m_Cond.Signal(true); } void PushFront(T const & t) @@ -61,7 +61,7 @@ public: m_isEmpty = false; if (doSignal) - m_Cond.Signal(); + m_Cond.Signal(true); } void SetName(char const * name)