You might want to attach to interrupt 0.
On qnx4 it is usually occuring every 10ms, I don’t know the value for RTP.
You simply trigger a proxy (your IRQ0 handler returns the proxy value), when
the correct time is elapsed (if it is not every interrupt you have to
count). And in your main you wait for the proxy.
I’m not very aware of the RTP terminology, but I’m sure there’s an
equivalent to proxies!
Hope this helps.
Berkeley Process Control <firstname.lastname@example.org> a écrit dans le message :
In my driver, I need to have a simple interval timer calling me
once every 10 millisecond.
I looked at the io-char driver and it seems a bit more complex
than what I need.
So, at this point I am looking for a simple way of being called
once every 10 millisecond. Any easy syscall to do this? the
first step for me would be a “hello world” program which simply
prints an “" every 10 milliseconds. and the next step would be to
make it send the driver a msg instead of printing "”…