mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsTimer: move mySleep call into mutex block, seems was not ok so
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user