task_kill
Previous Topic  Next Topic 

Synopsis:

        task_taskkill(task_id)

Arguments:

     task_id  - The task ID of the task to kill.

Description:     This function will instantly kill the specified task.   The specified task will stop processing immediately and the task ID will become invalid (until reused by another task).


Return Value:


Will return -1 if an invalid task ID was given, else will return 0 if the task was successfully stopped.