Action of rtems_message_queue_send

Joel Sherrill joel.sherrill at OARcorp.com
Fri Feb 15 14:57:44 UTC 2008


Andrei Chichak wrote:
> When sending a message to a queue, does the message data get copied
> into the message queue or does the queue point at the original data items?
>
> The reason that I ask is that if the data is not copied, alteration
> of the message data items before the message gets received will pick
> up the new values. (I've seen this in another /OS )
>   

Read this page from the manual and see if it answers your
question.

http://www.rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/c_user00182.html

If it doesn't then the documentation is broken and I need
to clarify it.

> Andrei
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill 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