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

Function sys_mb_send_wait

components/lwp/lwp_syscall.c:2447–2452  ·  view source on GitHub ↗

* @brief Sends a message to a mailbox object with a timeout. * * This system call attempts to post a message (a single value) to the specified mailbox. * If the mailbox is full, the function will wait for a specified timeout period * for space to become available. If the timeout expires before the message is sent, * the function returns an error. * * @param[in] mb The handle to the ma

Source from the content-addressed store, hash-verified

2445 * @see sys_mb_send()
2446 */
2447sysret_t sys_mb_send_wait(rt_mailbox_t mb,
2448 rt_ubase_t value,
2449 rt_int32_t timeout)
2450{
2451 return rt_mb_send_wait(mb, value, timeout);
2452}
2453
2454/**
2455 * @brief Receives a message from a mailbox with a timeout.

Callers

nothing calls this directly

Calls 1

rt_mb_send_waitFunction · 0.85

Tested by

no test coverage detected