timers

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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



Re: timers

Quoted text here. Click to load it

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: www.denx.de
We've slightly trimmed the long signature. Click to see the full one.
Re: timers
Quoted text here. Click to load it

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

Site Timeline