zephyr::raw

Function k_mbox_async_put

source
pub unsafe extern "C" fn k_mbox_async_put(
    mbox: *mut k_mbox,
    tx_msg: *mut k_mbox_msg,
    sem: *mut k_sem,
)
Expand description

@brief Send a mailbox message in an asynchronous manner.

This routine sends a message to @a mbox without waiting for a receiver to process it. The message data may be in a buffer or non-existent (i.e. an empty message). Optionally, the semaphore @a sem will be given when the message has been both received and completely processed by the receiver.

@param mbox Address of the mailbox. @param tx_msg Address of the transmit message descriptor. @param sem Address of a semaphore, or NULL if none is needed.