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.

[参考译文] 编译器/TM4C1290NCPDT:Task_delete 使我的系统崩溃

Guru**** 3040470 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/862705/compiler-tm4c1290ncpdt-task_delete-crash-my-system

器件型号:TM4C1290NCPDT

工具/软件:TI C/C++编译器

此任务是通过接受传入的 TCP 连接启动的

Task_handle tcptask =空

为什么此代码会使我的系统崩溃?

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