OS_MBOX_ALLOW_WAIT_IF_EMPTY Definition

This constant determines whether the capability to wait for a read operation to complete on a mailbox object is enabled. When this constant is set to 1, the feature is available; it is unavailable when set to 0. By default, this feature is enabled (set to 1). If this functionality is not required by the application, it may be disabled to reduce the final code size. For more information, please refer to the mailbox objects section.

SpaceShadow documentation