Valhalla Legends Forums Archive | C/C++ Programming | Linux Timers

AuthorMessageTime
NicoQwertyu
How can I do multiple timers in linux (queues, idle messages, ect.)?  I don't think I can use setitimer, however, which the only thing I've been able to find so far.
September 27, 2005, 5:53 PM
Kp
You could implement the timer logic internally, the same way cron(8) does.  Let your program compute when next it needs to take some action, then sleep until that time.  Repeat as necessary.
September 28, 2005, 1:41 AM

Search