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

Function sys_mb_send

components/lwp/lwp_syscall.c:2410–2413  ·  view source on GitHub ↗

* @brief Sends a message to a mailbox object. * * This system call posts a message (a single value) to the specified mailbox. * If the mailbox is full, the function will return an error code immediately without waiting time. * * @param[in] mb The handle to the mailbox object where the message * will be sent. Must be a valid `rt_mailbox_t` object. * @param[in] value The v

Source from the content-addressed store, hash-verified

2408 * @see sys_mb_create(), sys_mb_recv(), sys_mb_send_wait()
2409 */
2410sysret_t sys_mb_send(rt_mailbox_t mb, rt_ubase_t value)
2411{
2412 return rt_mb_send(mb, value);
2413}
2414
2415/**
2416 * @brief Sends a message to a mailbox object with a timeout.

Callers

nothing calls this directly

Calls 1

rt_mb_sendFunction · 0.85

Tested by

no test coverage detected