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,里面一段代码是这样的:

void main(void)
{
    //一些初始化操作
    ...

    /* 初始化任务常数 */
    Task_Params_init(&taskParams);
    taskParams.stackSize = 3*1024;
    Task_create(function11, &taskParams, NULL);

    /* Start BIOS */
    BIOS_start();
}

void function11(void)
{
    ...		//执行一些操作

    Task_create(function21, &taskParams, NULL);

    Task_create(function22, &taskParams, NULL);

    return;
}

void function21(void)
{
    ...		//执行一些操作

    return;
}

void function22(void)
{
    ...		//执行一些操作

    return;
}

其中,main( )运行到BIOS_start( ) 结束;

function11( )没有while(1),运行到return结束;

function21( )、function22( )同样没有while(1),运行到return结束。

请问操作系统启动后,function11( )、function21( )、function22( ) 三个函数是如何运行的?

Thanks.