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例程问题

 请问,这段TI-RTOS的例程代码是设置优先级的吧,函数里面的参数填什么呢,新手求问啊,谢谢啦

  • /* Construct writer/reader Task threads */
    Task_Params_init(&taskParams);
    taskParams.stackSize = TASKSTACKSIZE;
    taskParams.stack = &task1Stack;
    taskParams.priority = 1; 这个是配置优先级
    Task_construct(&task1Struct, (Task_FuncPtr)task1Fxn, &taskParams, NULL);

    taskParams.stack = &task2Stack;
    taskParams.priority = 2;
    Task_construct(&task2Struct, (Task_FuncPtr)task2Fxn, &taskParams, NULL);

  • http://software-dl.ti.com/lprf/simplelink_academy/modules/tirtos_01_basic/tirtos_01_basic.html