[Xenomai-help] help on alarms..

2006-05-07 Thread Prashanti Bedapudi
Attached is a piece of code using alarms, but I am seeing some unexpected behavior. Any help will be appreciated. in function main() the program behaves two different ways depending on where I have the last printf() 1. It works fine and terminates as expected if I have it like this

Re: [Xenomai-help] help on alarms..

2006-05-07 Thread Jim Cromie
Prashanti Bedapudi wrote: Attached is a piece of code using alarms, but I am seeing some unexpected behavior. Any help will be appreciated. have a look at src/testsuite/latency it does what I believe youre seeking to do (tho I havent read your code) in function main() the program