Hello All,
Can anyone give me some intro infos on how I could:
Execute a certain task on a N times per second ?? I would like to run a task at a defined number (N) of times per second.
Any help ??
Thanks,
Hello All,
Can anyone give me some intro infos on how I could:
Execute a certain task on a N times per second ?? I would like to run a task at a defined number (N) of times per second.
Any help ??
Thanks,
Last edited by groorj; 02-03-2006 at 03:07 PM.
The answer to this is dependent upon what OS you are using. Basically, you could set up a timer to do this. If you want the event to fire 5 times every second, then set the timer to expire after 200ms.
I'm using an RH Linux. Could you point me some code ?
Thanks a lot,
Do a search for ualarm() or setitimer().