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

Function sys_mb_delete

components/lwp/lwp_syscall.c:2378–2381  ·  view source on GitHub ↗

* @brief Deletes a mailbox object. * * This system call deletes the specified mailbox object, releasing any resources * associated with it. After deletion, the mailbox object should not be used. * * @param[in] mb The handle to the mailbox object to be deleted. * Must be a valid `rt_mailbox_t` object. * * @return sysret_t Returns a status code indicating the result of the oper

Source from the content-addressed store, hash-verified

2376 * @see sys_mb_create(), sys_mb_send(), sys_mb_recv()
2377 */
2378sysret_t sys_mb_delete(rt_mailbox_t mb)
2379{
2380 return lwp_user_object_delete(lwp_self(), (rt_object_t)mb);
2381}
2382
2383/**
2384 * @brief Sends a message to a mailbox object.

Callers

nothing calls this directly

Calls 2

lwp_user_object_deleteFunction · 0.85
lwp_selfFunction · 0.85

Tested by

no test coverage detected