Hi, How can i use timers in Linux?? For ex. i need to call a function every one second. How can i do it?
Uday
Hi, How can i use timers in Linux?? For ex. i need to call a function every one second. How can i do it?
Uday
man setitimer man sigaction
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Web:
or 'man alarm'. Or maybe even 'man select'. I tend to implement my timers as part of my network event loop rather than using signals.
- Dan
Have something to add? Share your thoughts — no account required.
Ask the community — no account required