#include <rtl.h>
OS_RESULT os_mbx_check (
OS_IDmailbox ); /* The mailbox to check for free space */
Description
The os_mbx_check function determines the number of messages
that can still be added into the mailbox identified by the
function argument. You can avoid blocking the current task by calling
the os_mbx_check function to check for available space in the
mailbox before calling the os_mbx_send function to send a
message.
The os_mbx_check function is in the RL-RTX library. The
prototype is defined in rtl.h.
Return Value
The os_mbx_check function returns the number of message
entries in the mailbox that are free.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.