use mySleep in CComponentsFrmClock::initClockThread(

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
Jacek Jendrzej
2013-12-15 17:34:53 +01:00
parent 7e2d12e5d5
commit ececd844fa
4 changed files with 13 additions and 4 deletions

View File

@@ -42,6 +42,14 @@
#include <system/helpers.h>
#include <gui/update_ext.h>
void mySleep(int sec) {
struct timeval timeout;
timeout.tv_sec = sec;
timeout.tv_usec = 0;
select(0,0,0,0, &timeout);
}
off_t file_size(const char *filename)
{
struct stat stat_buf;