在LM3S9B96的safertos_demo工程中,函数lwIPTaskInit有如下调用:lwIPInit >> tcpip_init >> sys_thread_new >> xTaskCreate ,这样只看到调用 xTaskCreate 一次,可是在 lwIPTaskInit 之后有如下说明和代码:
//
// The base lwIP stack uses two threads (one for managing the Ethernet
// interrupt and one for running the stack), so increment the task count
// accordingly.
//
TaskCreated();
TaskCreated();
请问RTOS在什么地方又创建了一个任务,还是对 xTaskCreate的一次调用可以产生两个任务,如果是一次可以产生两个,那参数是怎样就可以?谢谢!