Kiran Garimella wrote:
> Right now all I want to do is translate my program into the appropriate
> rtlinux calls. However, I haven't found the equivalent of setitimer()
> in the man pages. Is there one, or is there an entirely different
> mechanism for all this? And is there some tutorial where I can learn
> about all this?
I'm not an expert.
But look at rtlinux/include/rtl_time.h.
I think you can do this:
clockid_t timer = rtl_getbestclock(0);
timer->settimermode(timer, RTL_CLOCK_MODE_ONESHOT);
timer->handler = my_handler;
timer->settimer(timer, my_interval /* nanoseconds, I believe */);
--Gordon
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/