This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to kill dynamic Tasks

Hi,

My application creates a socket to each client connection and each socket corresponds to one task.  If there are many client connections, this can cause overflow. I'm using tirtos_tivac_2_01_00_03.

So my question is: How I delete tasks manually?  I want to kill a task after client connection is closed.

I tried using task_delete(), but did not work. I put task_delete() within the hook functions Idle and Ready, but nothing works.

Vini