Programming for linux: How to code a timer in C (in Linux)? [closed] on newest questions tagged linux – Stack Overflow

Possible Duplicate:
Linux C/C++ Timer signal handler in userspace

How do i got about creating a timer in C? I want to perform certain action once every 5 seconds and another one every 2 seconds?

How do i go about achieving this? Could anyone point out some good links or code ?

See Answers


source: http://stackoverflow.com/questions/11267430/how-to-code-a-timer-in-c-in-linux
Programming for linux: programming-for-linux



online applications demo