#include <signal.h>
Go to the source code of this file.
Classes | |
struct | ScopedAlarmLock |
Defines | |
#define | SCOPE_ALARM_LOCK() ScopedAlarmLock __alarm_lock__ |
#define | SIGALRM 14 |
Functions | |
unsigned long | initMainThread () |
void | lockAlarm () |
void | protectMainThread (bool) |
void | resetMainThread () |
int | setAlarm (unsigned sec) |
void | setAlarmHandler (void(*f)(int)) |
void | unlockAlarm () |
#define SCOPE_ALARM_LOCK | ( | ) | ScopedAlarmLock __alarm_lock__ |
unsigned long initMainThread | ( | ) |
void protectMainThread | ( | bool | ) |
void resetMainThread | ( | ) |
void setAlarmHandler | ( | void(*)(int) | f | ) |
void unlockAlarm | ( | ) | [inline] |