I need to known if that the messages insinde an IPC queue is orderered. In practise I need to know if when a call a msgrvc function I get the first message enetered the queue or the selected message is random.
Now, I put this question because when inside a portion o code msgrcv get a message which is not intended for that code I usually requeue the message e read the following message in the queue. What I 'm wondering about is that given, for example, he following messages
msgA, msgB, msgC
, stored inside a queue If read the msgA and reque it I will get the queue with the messages in this new order
msgB , msgC, msgA
and so the following call to msgrcv will give me msgB or if that order is random ans so I can read again msgA
Thanks, Enzo