26 #include <sys/signal.h>
45 static void startTimer (
long seconds,
long nanoseconds );
71 static struct sigevent
sev;
72 static struct itimerspec
its;
static bool isRunning()
Simple getter.
static void stopTimer()
Stop the timer.
static void initialiseTimer()
Set up the timer.
static struct itimerspec its
static struct sigevent sev
Provides an interface to a timer which periodically sends SIGUSR1 signals.
static void startTimer(long seconds, long nanoseconds)
Start the timer.
Timer()
Create a new timer.