MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_mb_send

Function rt_mb_send

src/ipc.c:2738–2741  ·  view source on GitHub ↗

* @brief This function will send an mail to the mailbox object. If there is a thread suspended on the mailbox, * the thread will be resumed. * * @note When using this function to send a mail, if the mailbox is fully used, this function will return an error * code immediately without waiting time. * By contrast, the rt_mb_send_wait() function is set a timeo

Source from the content-addressed store, hash-verified

2736 * If the return value is any other values, it means that the mailbox detach failed.
2737 */
2738rt_err_t rt_mb_send(rt_mailbox_t mb, rt_ubase_t value)
2739{
2740 return rt_mb_send_wait(mb, value, 0);
2741}
2742RTM_EXPORT(rt_mb_send);
2743
2744rt_err_t rt_mb_send_interruptible(rt_mailbox_t mb, rt_ubase_t value)

Callers 15

sys_mb_sendFunction · 0.85
rw009_wifi_txFunction · 0.85
mmcsd_changeFunction · 0.85
mmcsd_detectFunction · 0.85
ethernetif_linkoutputFunction · 0.85
eth_device_readyFunction · 0.85
eth_device_linkchangeFunction · 0.85
sys_mbox_trypostFunction · 0.85
tivaif_receiveFunction · 0.85
gpio_int_callbackFunction · 0.85
hal_mailbox_sendFunction · 0.85

Calls 1

rt_mb_send_waitFunction · 0.85

Tested by 1

gpio_int_callbackFunction · 0.68