I want the timer to fire say after 5 min and below is the code which I have
implemented,but
I found that timer never fires at the set time,Can anyone correct me,where I
am making mistake.
I want the timer to fire say after 5 min and below is the code which I have
implemented,but
I found that timer never fires at the set time,Can anyone correct me,where I
am making mistake.
rgds,
Mankan
{
struct itimerspec itime;
struct sigevent event;
event.sigev_notify = SIGEV_INTR;
Notification type SIGEV_INTR is only available (valid) for use
between an interrupt handler and the thread that attached it.
Try using a notification type of SIGEV_SIGNAL or SIGEV_PULSE.
If you are trying to unblock an InterruptWait() call after a certain
time even if you’ve gotten no interrupts, try using a TimerTimeout().