RTEMS
|
The structure is used to organize message buffers of a message queue. More...
#include <coremsgbuffer.h>
Public Attributes | |
Chain_Node | Node |
This member is used to enqueue the buffer in the pending or free buffer queue of a message queue. | |
size_t | size |
This member defines the size of this message. | |
int | priority |
This member defines the priority of this message. | |
size_t | buffer [RTEMS_ZERO_LENGTH_ARRAY] |
This member contains the actual message. More... | |
The structure is used to organize message buffers of a message queue.
Definition at line 63 of file coremsgbuffer.h.
size_t CORE_message_queue_Buffer::buffer[RTEMS_ZERO_LENGTH_ARRAY] |
This member contains the actual message.
This is a zero-length array since the maximum message size is defined by the user. Use a size_t array to make sure that the member offset is at the structure end. This enables a more efficient memcpy() on 64-bit targets and makes it easier to inspect the message buffers with a debugger.
Definition at line 87 of file coremsgbuffer.h.