vdr-1.7.3/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"

Include dependency graph for thread.c:

Go to the source code of this file.

Defines

#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)


Define Documentation

#define THREAD_STOP_SLEEP   30

Definition at line 260 of file thread.c.

Referenced by cThread::Start().

#define THREAD_STOP_TIMEOUT   3000

Definition at line 259 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 
)


Generated on Tue Jan 13 14:26:51 2009 for VDR by  doxygen 1.5.6