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.
工具/软件:Code Composer Studio
静态空 App_Task1 (空*p_arg)
{
(空)&p_arg;
INT32U t;
while (DEF_true){
T = OSTimeGet ();
printf ("Task1");
printf ("OSTime=%lu\n"t);
OSTimeDly (50);
}
}
静态空 App_Task2 (空*p_arg)
{
(空)&p_arg;
INT32U t;
while (DEF_true){
T = OSTimeGet ();
printf ("Task2 \n");
printf ("OSTime=%lu\n"t);
OSTimeDly (100);
}
}
================================================================
控制台:
任务1 OSTime=0