summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems/rtems/message.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 19:01:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 19:01:42 +0000
commite7d8b5882699d0a44ab51c5547bbcd6b21d96b52 (patch)
treef2e77cb206d68ee1d74d3c32c5ef174c58a0c902 /c/src/exec/rtems/include/rtems/rtems/message.h
parentAdded comment to indicate what the commented out C_PIECES indicated. (diff)
downloadrtems-e7d8b5882699d0a44ab51c5547bbcd6b21d96b52.tar.bz2
Added rtems_message_queue_get_number_pending directive.
Diffstat (limited to 'c/src/exec/rtems/include/rtems/rtems/message.h')
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/message.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/message.h b/c/src/exec/rtems/include/rtems/rtems/message.h
index f819b7cfa2..0b7928848f 100644
--- a/c/src/exec/rtems/include/rtems/rtems/message.h
+++ b/c/src/exec/rtems/include/rtems/rtems/message.h
@@ -242,6 +242,23 @@ rtems_status_code rtems_message_queue_flush(
);
/*
+ * rtems_message_queue_get_number_pending
+ *
+ * DESCRIPTION:
+ *
+ * This routine implements the rtems_message_queue_get_number_pending
+ * directive. This directive returns the number of pending
+ * messages for the message queue indicated by ID
+ * chain. The number of messages pending is returned in COUNT.
+ */
+
+rtems_status_code rtems_message_queue_get_number_pending(
+ Objects_Id id,
+ unsigned32 *count
+);
+
+
+/*
* _Message_queue_Submit
*
* DESCRIPTION: