RTEMS message_queue_receive

John Bebbington Bebbington.John at litef.de
Wed Jun 6 07:40:16 UTC 2001


I have experienced something similar, using the RTEMS_WAIT that sometimes I
get RTEMS_SUCCESSFUL back from a rtems_message_queue_receive() but the
length of the message received is zero.

I currently do an additional test in this case on the length of the received
message and discard the transaction if the length  is zero. I admit that its
an ugly work around but I have no time to really find out why this happens
and the number of occurances over time is minimal.

Hope this helps

regards
John Bebbbington.



> -----Original Message-----
> From: suvrat gupta [mailto:suvrat at utstar.com]
> Sent: Dienstag, 5. Juni 2001 22:53
> To: rtems-users at oarcorp.com
> Subject: RTEMS message_queue_receive
>
>
> Hi,
> I am experiencing a problem with rtems_message_queue_receive().
> It seems like when I call this with RTEMS_NO_WAIT and RTEMS_NO_TIMEOUT,
> sometimes the call returns RTEMS_SUCCESSFUL but does not modify the buffer
> pointer passed to it. Has anyone else seen something similar to this?
> thanks
> -suvrat
>
> UTStarcom INC
> New Jearsy
>




More information about the users mailing list