This method suspends a task. This method is not used in generated code—it is used only for advanced scheduling.
RiCOSResult RiCOSTask_suspend (RiCOSTask *const me);
me
The RiCOSTask object to suspend
The RiCOSResult object, as defined in the RiCOS*.h files
RiCOSResult RiCOSTask_suspend(RiCOSTask * const me)
{
if (me == NULL) {return 0;}
(void)taskSuspend(me->hThread);
return 1;
}