请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:SYSBIOS 工具/软件:TI-RTOS
大家好 、,
Q:创建新任务时,如何确定任务的堆栈大小和优先级?
提前感谢。
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.
工具/软件:TI-RTOS
大家好 、,
Q:创建新任务时,如何确定任务的堆栈大小和优先级?
提前感谢。
您好、南山、
您可以通过 STACKSIZE 参数在任务创建期间设置任务大小。 请参阅以下示例:
var tskParams = new Task.Params;
tskParams.STACKSIZE = 512;
var task0 = Task.create ('&task0Fxn'、tskParams);
可以使用 Task_setPri 命令来设置任务优先级。
有关更多详细信息、请参阅:
www.ti.com/.../spruex3q.pdf
BR
Tsvetolin Shulev
大家好、ToddMullanix、
感谢您的回复!
但页面:training.ti.com/debugging-common-application-issues-ti-rtos.can未打开。
此致!