pub unsafe extern "C" fn _mbox_put(
mbox: *mut mbox_t,
msg: *mut msg_t,
blocking: c_int,
) -> c_int
Expand description
@brief Add message to mailbox
If the mailbox is full, this function will return right away.
@internal
@param[in] mbox ptr to mailbox to operate on @param[in] msg ptr to message that will be copied into mailbox @param[in] blocking block if 1, don’t block if 0
@return 1 if msg could be delivered @return 0 otherwise