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