Hi,
I'm using ThreadX in a multi-threaded application and am using queues to communicate between the different threads.
It seems that the ThreadX manual says that when a queue is empty, any message written to it will be sent straight to the destination (bypassing the queue) if the recipient thread is suspended.
What seems to be happening in the application is that several messages are sent to the queue while the recipient thread is suspended... this means that the destination is being overwritten (possibly several times) and messages are being lost (because the queue is being bypassed).
Can anyone tell me if this is expected behavior and, if so, what is the work around to ensure that messages do not get lost?
If it's not expected behavior, can someone point out what I might be doing wrong (or mis-interpreting) ?
Thanks in advance for any pointers,
Byyy.