Action of rtems_message_queue_send
Andrei Chichak
groups at chichak.ca
Fri Feb 15 16:29:10 UTC 2008
At 08:55 AM 2/15/2008, you wrote:
>There probably should be a section in Background
>on Reference versus Value message passing. :-D
>You can always pass around pointers to messages
>if that makes you happy.
Oh, no no no. That has made me very sad. I had one situation where I
was posting error events to an error logger and, due to the use of
pointers, two detected errors posted in quick succession, or in a
higher priority thread, would result in the second error being posted
twice since they both used the same pointer.
Andrei
More information about the users
mailing list