summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/msgqsubmit.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 19:32:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 19:32:19 +0000
commitf879de5247e08105401a8889632c7326e6aa6ed2 (patch)
tree8bd95e488dfad75bccb3d28ee9d11ade75db73cc /cpukit/rtems/src/msgqsubmit.c
parent2001-08-16 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-f879de5247e08105401a8889632c7326e6aa6ed2.tar.bz2
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/src/msgqsubmit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/rtems/src/msgqsubmit.c b/cpukit/rtems/src/msgqsubmit.c
index c70f3f28aa..9f7993c88e 100644
--- a/cpukit/rtems/src/msgqsubmit.c
+++ b/cpukit/rtems/src/msgqsubmit.c
@@ -130,6 +130,12 @@ rtems_status_code _Message_queue_Submit(
}
_Thread_Enable_dispatch();
+
+ /*
+ * Since this API does not allow for blocking sends, we can directly
+ * return the returned msg_status.
+ */
+
return
_Message_queue_Translate_core_message_queue_return_code( msg_status );