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.

Compiler/TM4C1290NCPDT: task_delete crash my system

Part Number: TM4C1290NCPDT


Tool/software: TI C/C++ Compiler

This task is started by accept incoming tcp connection

Task_Handle tcptask =nULL

why this code is crashing my system ?

tcptask = Task_self();
         Task_delete(&tcptask);