Timer event

  • Thread starter Thread starter yhlove
  • Start date Start date
Y

yhlove

Hi

I want to use a timer in my project so I would be able to set it's
value and able to handle the timer event. how can I do that?

(for those whi fimiliar with linux systems: I'm looking for somthing
like the signal SIGTERM and the function alarm(int sec). with that
function you can set the timer to x seconds and after that time your
process will get the signal SIGTERM and then you can handle it and
refresh the timer again...)

Thanks
Yhlove
 
Back
Top