mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CComponentsTimer: use sleep() instead mySleep()
Had some problems with mySleep() related to select() which was used
inside mySleep()
Origin commit data
------------------
Commit: dbc4a487e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-11 (Tue, 11 Apr 2017)
This commit is contained in:
@@ -64,7 +64,7 @@ void CComponentsTimer::runSharedTimerAction()
|
||||
tm_mutex.lock();
|
||||
OnTimer();
|
||||
if (!tm_enable_nano)
|
||||
mySleep(tm_interval);
|
||||
sleep(tm_interval);
|
||||
else
|
||||
usleep((useconds_t)tm_interval);
|
||||
tm_mutex.unlock();
|
||||
|
Reference in New Issue
Block a user