vdr  2.4.1
Classes | Macros | Typedefs | Functions
thread.h File Reference
#include <pthread.h>
#include <stdio.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

class  cCondWait
 
class  cCondVar
 
class  cRwLock
 
class  cMutex
 
class  cThread
 
class  cMutexLock
 
class  cThreadLock
 
class  cStateLock
 
class  cStateKey
 
class  cIoThrottle
 
class  cPipe
 
class  cBackTrace
 

Macros

#define LOCK_THREAD   cThreadLock ThreadLock(this)
 

Typedefs

typedef pid_t tThreadId
 

Functions

int SystemExec (const char *Command, bool Detached=false)
 

Macro Definition Documentation

◆ LOCK_THREAD

#define LOCK_THREAD   cThreadLock ThreadLock(this)

Definition at line 167 of file thread.h.

Typedef Documentation

◆ tThreadId

typedef pid_t tThreadId

Definition at line 17 of file thread.h.

Function Documentation

◆ SystemExec()

int SystemExec ( const char *  Command,
bool  Detached = false 
)

Definition at line 1034 of file thread.c.

References LOG_ERROR, and LOG_ERROR_STR.

Referenced by cShutdownHandler::CallShutdownCommand(), and cRecordingUserCommand::InvokeCommand().

Here is the caller graph for this function: