The rtems_message_queue_create
directive creates a message
queue with the user-defined name. The user specifies the
maximum message size and maximum number of messages which can be
placed in the message queue at one time. The user may select
FIFO or task priority as the method for placing waiting tasks in
the task wait queue. RTEMS allocates a Queue Control Block
(QCB) from the QCB free list to maintain the newly created queue
as well as memory for the message buffer pool associated with
this message queue. RTEMS also generates a message queue ID
which is returned to the calling task.
For GLOBAL message queues, the maximum message size is effectively limited to the longest message which the MPCI is capable of transmitting.
Copyright © 1988-2003 OAR Corporation