From dd746c38b4c4399da30dbea28c0fc107e2a28247 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 10 Feb 1999 00:29:02 +0000 Subject: Comments fixed after problem report from Ian Lance Taylor . --- c/src/exec/rtems/include/rtems/rtems/message.h | 29 +++++++++----------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'c/src') diff --git a/c/src/exec/rtems/include/rtems/rtems/message.h b/c/src/exec/rtems/include/rtems/rtems/message.h index 283381eecc..198c93b288 100644 --- a/c/src/exec/rtems/include/rtems/rtems/message.h +++ b/c/src/exec/rtems/include/rtems/rtems/message.h @@ -148,7 +148,7 @@ rtems_status_code rtems_message_queue_delete( * receive the message. The task selected to receive the * message is based on the task queue discipline algorithm in * use by this particular message queue. If no tasks are waiting, - * then the message buffer will be placed at the rear of the + * then the message buffer will be placed at the REAR of the * chain of pending messages for this message queue. */ @@ -163,15 +163,11 @@ rtems_status_code rtems_message_queue_send( * * DESCRIPTION: * - * This routine implements the rtems_message_queue_send directive. - * This directive sends the message buffer to the message queue - * indicated by ID. If one or more tasks is blocked waiting - * to receive a message from this message queue, then one will - * receive the message. The task selected to receive the - * message is based on the task queue discipline algorithm in - * use by this particular message queue. If no tasks are waiting, - * then the message buffer will be placed at the rear of the - * chain of pending messages for this message queue. + * This routine implements the rtems_message_queue_urgent directive. + * This directive has the same behavior as rtems_message_queue_send + * except that if no tasks are waiting, the message buffer will + * be placed at the FRONT of the chain of pending messages rather + * than at the REAR. */ rtems_status_code rtems_message_queue_urgent( @@ -185,15 +181,10 @@ rtems_status_code rtems_message_queue_urgent( * * DESCRIPTION: * - * This routine implements the rtems_message_queue_send directive. - * This directive sends the message buffer to the message queue - * indicated by ID. If one or more tasks is blocked waiting - * to receive a message from this message queue, then one will - * receive the message. The task selected to receive the - * message is based on the task queue discipline algorithm in - * use by this particular message queue. If no tasks are waiting, - * then the message buffer will be placed at the rear of the - * chain of pending messages for this message queue. + * This routine implements the rtems_message_queue_broadcast directive. + * This directive sends the message buffer to all of the tasks blocked + * waiting for a message on the message queue indicated by ID. + * If no tasks are waiting, then the message buffer will not be queued. */ rtems_status_code rtems_message_queue_broadcast( -- cgit v1.2.3