RTEMS
Macros | Functions
coremsg.c File Reference

Initialize a Message Queue. More...

#include <rtems/score/coremsgimpl.h>
#include <rtems/score/assert.h>

Go to the source code of this file.

Macros

#define MESSAGE_SIZE_LIMIT   ( SIZE_MAX - sizeof( uintptr_t ) + 1 - sizeof( CORE_message_queue_Buffer ) )
 

Functions

 RTEMS_STATIC_ASSERT (offsetof(CORE_message_queue_Buffer, buffer)==sizeof(CORE_message_queue_Buffer), CORE_MESSAGE_QUEUE_BUFFER_OFFSET)
 
Status_Control _CORE_message_queue_Initialize (CORE_message_queue_Control *the_message_queue, CORE_message_queue_Disciplines discipline, uint32_t maximum_pending_messages, size_t maximum_message_size, CORE_message_queue_Allocate_buffers allocate_buffers, const void *arg)
 Initializes a message queue. More...
 

Detailed Description

Initialize a Message Queue.

Definition in file coremsg.c.