33 Status_Control status;
35 if ( buffer == NULL ) {
39 if ( count == NULL ) {
43 the_message_queue = _Message_queue_Get(
id, &queue_context );
45 if ( the_message_queue == NULL ) {
46 #if defined(RTEMS_MULTIPROCESSING) 47 return _Message_queue_MP_Broadcast(
id, buffer, size, count );
55 _Message_queue_Core_message_queue_mp_support
64 return _Status_Get( status );
Thread queue context for the thread queue methods.
Classic Message Queue Manager Implementation.
#define _Thread_queue_Context_set_MP_callout(queue_context, mp_callout)
Sets the MP callout in the thread queue context.
rtems_status_code rtems_message_queue_broadcast(rtems_id id, const void *buffer, size_t size, uint32_t *count)
%
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Classic Status Implementation.
CORE_message_queue_Control message_queue
This status code indicates that a specified address was invalid.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Status_Control _CORE_message_queue_Broadcast(CORE_message_queue_Control *the_message_queue, const void *buffer, size_t size, uint32_t *count, Thread_queue_Context *queue_context)
Broadcasts a message to the message queue.