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.

CC3220SF sleep 线程调度问题

Other Parts Discussed in Thread: CC3220SF

写了一个CC3220SF双线程的程序,一个tcpthread,一个spithread。

请问是否是在tcpthread中调用了sleep函数,tcpthread就会释放当前占用的cpu资源,cpu就会切换到spithread执行吗?如果这样的话,tcpthread想设置延时该怎么办?