timers

Jul 10, 2004 2 Replies

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:

formatting link
Of all possible committee reactions to any given agenda item, the reaction that will occur is the one which will liberate the greatest amount of hot air. -- Thomas L. Martin

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required