RTEMS message_queue_receive

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jun 5 21:01:56 UTC 2001



suvrat gupta wrote:
> 
> 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?

Is the size of the message by any chance 0?  The NO_WAIT path in the
score/src/coremsgseize.c always sets the size but if the message
size is 0, then no data would be copied.

> thanks
> -suvrat
> 
> UTStarcom INC
> New Jearsy

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list