From 22440e3791e710e27ff02cc94fb00ccbf8acd01b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 28 Feb 2015 23:22:19 +0100 Subject: [PATCH] CComponentsTimer: move mySleep call into mutex block, seems was not ok so Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/45623aa810515f671bc7b5b150da84f71c5130f3 Author: Thilo Graf Date: 2015-02-28 (Sat, 28 Feb 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_timer.cpp b/src/gui/components/cc_timer.cpp index 01cd9da11..a2d30ec75 100644 --- a/src/gui/components/cc_timer.cpp +++ b/src/gui/components/cc_timer.cpp @@ -61,8 +61,8 @@ void* CComponentsTimer::initTimerThread(void *arg) while(timer) { timer->mutex.lock(); timer->OnTimer(); - timer->mutex.unlock(); mySleep(timer->tm_interval); + timer->mutex.unlock(); } return 0;