diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 19:32:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 19:32:19 +0000 |
commit | f879de5247e08105401a8889632c7326e6aa6ed2 (patch) | |
tree | 8bd95e488dfad75bccb3d28ee9d11ade75db73cc /cpukit/rtems/src | |
parent | 2001-08-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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 'cpukit/rtems/src')
-rw-r--r-- | cpukit/rtems/src/msgqsubmit.c | 6 |
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 ); |