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

Function sys_event_delete

components/lwp/lwp_syscall.c:2192–2195  ·  view source on GitHub ↗

* @brief Deletes a system event object. * * This system call removes the specified system event object, releasing * any resources associated with it. After deletion, the event object * should not be used. * * @param[in] event The handle to the event object to be deleted. * Must be a valid `rt_event_t` object. * * @return sysret_t Returns a status code indicating the resul

Source from the content-addressed store, hash-verified

2190 * @see sys_event_create(), sys_event_send(), sys_event_recv()
2191 */
2192sysret_t sys_event_delete(rt_event_t event)
2193{
2194 return lwp_user_object_delete(lwp_self(), (rt_object_t)event);
2195}
2196
2197/**
2198 * @brief Sends an event to the specified event object.

Callers

nothing calls this directly

Calls 2

lwp_user_object_deleteFunction · 0.85
lwp_selfFunction · 0.85

Tested by

no test coverage detected