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

Function rt_completion_wakeup

components/drivers/ipc/completion_comm.c:33–36  ·  view source on GitHub ↗

* @brief This function indicates a completion has done and wakeup the thread * * @param completion is a pointer to a completion object. * @return RT_EOK if wakeup succeed. * RT_EEMPTY if wakeup failure and the completion is set to completed. * RT_EBUSY if the completion is still in completed state */

Source from the content-addressed store, hash-verified

31 * RT_EBUSY if the completion is still in completed state
32 */
33rt_err_t rt_completion_wakeup(struct rt_completion *completion)
34{
35 return rt_completion_wakeup_by_errno(completion, -1);
36}
37
38/**
39 * @brief This is same as rt_completion_wait(), except that this API is NOT

Callers 2

done_safelyFunction · 0.85
done_safelyFunction · 0.85

Calls 1

Tested by

no test coverage detected