CoffeePi
Coffee machine control for Raspberry Pi
Data Structures | Macros | Functions
timer.h File Reference

Go to the source code of this file.

Data Structures

class  timer
 Timer Class This class allows the creation of multiple timers that are based by a divider on a single system timer. More...
 

Macros

#define SIG   SIGRTMIN
 
#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); } while (0)
 
#define CLOCKID   CLOCK_REALTIME
 

Functions

void initTimers (void)
 inits the system timer based on signals More...
 
void * nullThread (void *threadid)
 

Macro Definition Documentation

#define CLOCKID   CLOCK_REALTIME
#define errExit (   msg)    do { perror(msg); exit(EXIT_FAILURE); } while (0)
#define SIG   SIGRTMIN

Function Documentation

void initTimers ( void  )

inits the system timer based on signals

void* nullThread ( void *  threadid)