This method resumes a suspended task. This method is not used in generated code—it is used only for advanced scheduling.
The suspend and resume methods provide a way of stopping and restarting a task. Tasks usually block when waiting for a resource, such as a mutex or an event flag, so both are rarely used.
RiCOSResult RiCOSTask_resume (RiCOSTask *const me);
me
The RiCOSTask object to resume
The RiCOSResult object, as defined in the RiCOS*.h files
RiCOSResult RiCOSTask_resume(RiCOSTask * const me)
{
if (me == NULL) {return 0;}
(void)taskResume(me->hThread);
return 1;
}