This method terminates the
current task.
Signaturevoid RiCOSTask_endMyTask (void * t);
Parameterst
The current task
Examplevoid RiCOSTask_endMyTask(void *hThread)
{
taskDeleteForce((int)hThread);
/* Force because this is probably waiting on
something */
}