* @brief This function will initialize a completion object. * * @param completion is a pointer to a completion object. */
| 38 | * @param completion is a pointer to a completion object. |
| 39 | */ |
| 40 | void 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 | } |
| 46 | RTM_EXPORT(rt_completion_init); |
| 47 | |
| 48 | /** |
no outgoing calls
no test coverage detected