cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Creating a timer in c++
Creating a timer in c++
Aug 7, 2012 at 9:47am UTC
illayaraja
(1)
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
Aug 7, 2012 at 9:56am UTC
tath
(408)
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.