vdr  2.2.0
Macros | Functions
thread.c File Reference
#include "thread.h"
#include <errno.h>
#include <linux/unistd.h>
#include <malloc.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <sys/prctl.h>
#include <unistd.h>
#include "tools.h"

Go to the source code of this file.

Macros

#define THREAD_STOP_TIMEOUT   3000
 
#define THREAD_STOP_SLEEP   30
 

Functions

static bool GetAbsTime (struct timespec *Abstime, int MillisecondsFromNow)
 
int SystemExec (const char *Command, bool Detached)
 

Macro Definition Documentation

#define THREAD_STOP_SLEEP   30

Definition at line 271 of file thread.c.

Referenced by cThread::Start().

#define THREAD_STOP_TIMEOUT   3000

Definition at line 270 of file thread.c.

Referenced by cThread::Start().

Function Documentation

static bool GetAbsTime ( struct timespec *  Abstime,
int  MillisecondsFromNow 
)
static

Definition at line 24 of file thread.c.

Referenced by cRwLock::Lock(), cCondVar::TimedWait(), and cCondWait::Wait().

int SystemExec ( const char *  Command,
bool  Detached 
)