#include "thread.h"
#include <cxxabi.h>
#include <dlfcn.h>
#include <errno.h>
#include <execinfo.h>
#include <linux/unistd.h>
#include <malloc.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <unistd.h>
#include "tools.h"
Go to the source code of this file.
|
| static bool | GetAbsTime (struct timespec *Abstime, int MillisecondsFromNow) |
| |
| int | SystemExec (const char *Command, bool Detached) |
| |
◆ ABORT
| #define ABORT { dsyslog("ABORT!"); cBackTrace::BackTrace(); abort(); } |
◆ BT_BUF_SIZE
◆ dbglocking
| #define dbglocking |
( |
|
a... | ) |
|
◆ dbglockseq
| #define dbglockseq |
( |
|
n, |
|
|
|
l, |
|
|
|
w |
|
) |
| StateLockLog.Check(n, l, w) |
◆ DEBUG_LOCKSEQ
◆ SLL_LENGTH
◆ SLL_LOCK_FLAG
| #define SLL_LOCK_FLAG 0x40000000 |
◆ SLL_MAX_LIST
◆ SLL_SIZE
◆ SLL_THREADS
◆ SLL_WRITE_FLAG
| #define SLL_WRITE_FLAG 0x80000000 |
◆ THREAD_STOP_SLEEP
| #define THREAD_STOP_SLEEP 30 |
◆ THREAD_STOP_TIMEOUT
| #define THREAD_STOP_TIMEOUT 3000 |
◆ GetAbsTime()
| static bool GetAbsTime |
( |
struct timespec * |
Abstime, |
|
|
int |
MillisecondsFromNow |
|
) |
| |
|
static |
◆ SystemExec()
| int SystemExec |
( |
const char * |
Command, |
|
|
bool |
Detached |
|
) |
| |
◆ StateLockLog