Timer event

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top