I am not very clear with this API from it’s definition in man page: timer_getoverrun( ).
Can someone help me to explain, with the context of a timer?
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you create e.g. a 1ms timer, but due to various delays it takes e.g 4.5ms from the signal is generated until it is actually accepted by the application, there could have been 3 more signals issued in the meantime (but isn’t, since only one signal is pending at a time).
timer_getoverrun()retrieves the value 3 – the number of signals not generated.