Hi,
Does standard C provide time interrupts?
How can I generate a time interrupt for every 500ms?
thanks,
Bob
Hi,
Does standard C provide time interrupts?
How can I generate a time interrupt for every 500ms?
thanks,
Bob
Thanks. Then, could you please let me know how I can do that in Linux?
This perhaps?
http://linux.die.net/man/2/setitimer
There are several ways, and it depends quite a bit on what you are actually trying to achieve.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.