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

Function rt_completion_init

components/drivers/ipc/completion_up.c:40–45  ·  view source on GitHub ↗

* @brief This function will initialize a completion object. * * @param completion is a pointer to a completion object. */

Source from the content-addressed store, hash-verified

38 * @param completion is a pointer to a completion object.
39 */
40void rt_completion_init(struct rt_completion *completion)
41{
42 RT_ASSERT(completion != RT_NULL);
43
44 completion->susp_thread_n_flag = RT_COMPLETION_NEW_STAT(RT_NULL, RT_UNCOMPLETED);
45}
46RTM_EXPORT(rt_completion_init);
47
48/**

Callers 15

rt_workqueue_createFunction · 0.70
vcom_tx_thread_entryFunction · 0.50
rt_serial_openFunction · 0.50
rt_serial_tx_enableFunction · 0.50
rt_serial_rx_enableFunction · 0.50
_can_int_txFunction · 0.50
rt_can_openFunction · 0.50
_aduio_replay_stopFunction · 0.50
nvme_alloc_queueFunction · 0.50
rt_ktime_hrtimer_initFunction · 0.50
testcaseFunction · 0.50
testcaseFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected