How to interrupt a function using a timer in vxWorks
I need some code to fire after x microseconds and interrupt a function.
Assume i am running the function matrix multiplication.
I need some code that will help me stop this matmul code just once and take some action as specified in my handler functions.
should run after interrupting the matmul function after x microseconds.
I was able to do this in linux with the setitimer function. Is there an equivalent in vxWorks for the same.