diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2013-02-08 17:51:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:49:45 +0300 |
commit | f7a07d5ec818fa8a8bafb64674142c779a9a5027 (patch) | |
tree | 28a51329df6ce0d9602bed7c540434eccf92ea78 /base | |
parent | 3e090e225f9d1af0486744aa931b99b62c1f1341 (diff) |
fixed deadlock in CoverageGenerator related to Wait/Signal logic in ThreadedList
Diffstat (limited to 'base')
-rw-r--r-- | base/threaded_list.hpp | 6 |
1 files 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) |