Functions
alarm.cpp File Reference
#include <program_opts/detail/alarm.h>
#include <unistd.h>
Include dependency graph for alarm.cpp:

Go to the source code of this file.

Functions

unsigned long initMainThread ()
void protectMainThread (bool)
void resetMainThread ()
int setAlarm (unsigned sec)
void setAlarmHandler (void(*f)(int))

Function Documentation

unsigned long initMainThread ( )

Definition at line 28 of file alarm.cpp.

void protectMainThread ( bool  )

Definition at line 30 of file alarm.cpp.

void resetMainThread ( )

Definition at line 29 of file alarm.cpp.

int setAlarm ( unsigned  sec)

Definition at line 24 of file alarm.cpp.

void setAlarmHandler ( void(*)(int)  f)

Definition at line 21 of file alarm.cpp.



clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40