Hello,
I want to use a timeout for receiving a message using mq_receive, so I’m using timer_timeout before calling mq_receive. This works most of time, but sometimes the mq_receive is not unblocked… I wonder why ? I am using the flag : _NTO_TIMEOUT_REPLY when calling timer_timeout, is it enough ? Also I’m creating a new timer each time before calling mq_receive, is there a limit fot the number of timer created at the same time ?
Other question : What’s happend is the timer_timeout is used and the previous call is not finished, is the timeout duration restart ?
Thanks a lot
Alain