mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user