mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsTimer: use sleep() instead mySleep()
Had some problems with mySleep() related to select() which was used inside mySleep()
This commit is contained in:
@@ -64,7 +64,7 @@ void CComponentsTimer::runSharedTimerAction()
|
|||||||
tm_mutex.lock();
|
tm_mutex.lock();
|
||||||
OnTimer();
|
OnTimer();
|
||||||
if (!tm_enable_nano)
|
if (!tm_enable_nano)
|
||||||
mySleep(tm_interval);
|
sleep(tm_interval);
|
||||||
else
|
else
|
||||||
usleep((useconds_t)tm_interval);
|
usleep((useconds_t)tm_interval);
|
||||||
tm_mutex.unlock();
|
tm_mutex.unlock();
|
||||||
|
Reference in New Issue
Block a user