diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-24 17:47:10 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:41 +0300 |
commit | 2a1842007a047713f64f4589e32ab62fc7cd8280 (patch) | |
tree | 894be0efea0429d89963daefe162c164295b14eb /base/threaded_list.hpp | |
parent | 04142e39cffd676d234f2a3b39de774500c6a66e (diff) |
Timer is moved to steady clocks.
Diffstat (limited to 'base/threaded_list.hpp')
-rw-r--r-- | base/threaded_list.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/base/threaded_list.hpp b/base/threaded_list.hpp index c07d416c31..ee9e5d72e5 100644 --- a/base/threaded_list.hpp +++ b/base/threaded_list.hpp @@ -76,8 +76,6 @@ public: bool WaitNonEmpty() { - double StartWaitTime = m_Timer.ElapsedSeconds(); - bool doFirstWait = true; while ((m_isEmpty = m_list.empty())) @@ -91,8 +89,6 @@ public: m_Cond.Wait(); } - m_WaitTime += m_Timer.ElapsedSeconds() - StartWaitTime; - if (IsCancelled()) return true; |