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

Function sys_event_send

components/lwp/lwp_syscall.c:2222–2225  ·  view source on GitHub ↗

* @brief Sends an event to the specified event object. * * This system call sends an event to the specified event object, setting * the specified bits in the event object's set. The event can be used * to signal other threads or tasks that a particular condition has * occurred. * * @param[in] event The handle to the event object to which the event * will be sent. Must be a

Source from the content-addressed store, hash-verified

2220 * @see sys_event_create(), sys_event_recv()
2221 */
2222sysret_t sys_event_send(rt_event_t event, rt_uint32_t set)
2223{
2224 return rt_event_send(event, set);
2225}
2226
2227/**
2228 * @brief Receives an event from the specified event object.

Callers

nothing calls this directly

Calls 1

rt_event_sendFunction · 0.85

Tested by

no test coverage detected