use mySleep in CComponentsFrmClock::initClockThread(

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: ececd844fa
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-12-15 17:34:53 +01:00
parent 9e4e5d7e94
commit 528c96dca0
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;