endOtherTask

This method terminates a task other than the current task.

Signature
RiCBoolean RiCOSTask_endOtherTask (void * t);
Parameters
t

The task to end

Returns

The method returns RiCTRUE if it successfully terminated the task.

Example
RiCBoolean RiCOSTask_endOtherTask(void *hThread)
{
   taskDeleteForce((int)hThread);
   /* Force because this is probably waiting on 
      something */
   return RiCTRUE;
}

Feedback