vdr
2.2.0
|
#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) |
#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().
|
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 | ||
) |
Definition at line 559 of file thread.c.
References LOG_ERROR, and LOG_ERROR_STR.
Referenced by cShutdownHandler::CallShutdownCommand(), cRecordingUserCommand::InvokeCommand(), and cPipe::operator FILE *().