From f879de5247e08105401a8889632c7326e6aa6ed2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Aug 2001 19:32:19 +0000 Subject: 2001-08-16 Joel Sherrill * 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. --- cpukit/rtems/src/msgqsubmit.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpukit') 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 ); -- cgit v1.2.3