thanks to bithub for your answer.
I tried to solve the problem this way but I got some problems to set up the right signal handler function.
If I tried to set the extended handler function - all I got was this error:
Code:
void Scheduler::tic(int sigNumb, siginfo_t *si, void *uc) {
perror("i was called");
}
this->SignalAction.sa_handler = Scheduler::tic;
error: invalid conversion from 'void (*)(int, siginfo_t*, void*)' to 'void (*)(int)'
Am I right in setting the handler to sa_handler ?
By the way... am I allowed to pass references to class members for setting up the timer, as follows:
Code:
timer_create(CLOCK_REALTIME, &this->signalEvent, &this->timerID)
thanks for your help