Creating a timer in c++

Hi All,

I am new to c++, I need a help on timers with the sample code,The requirement is that when some condition is met i need to start a timer, and when the timeout occurs i need to have a callback function which does some stuff, i am using linux

regards,
illayaraja
Search this forum for answer, because i am pretty sure it was written here already.

..or you just might search for time.h library ( http://linux.die.net/man/3/clock_gettime ).
Topic archived. No new replies allowed.