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.
This commit is contained in:
Joel Sherrill
2001-08-16 19:32:19 +00:00
parent aed5ae00ee
commit f879de5247
2 changed files with 12 additions and 0 deletions

View File

@@ -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 );

View File

@@ -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 );