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.

CC1310: 如何创建一个新的线程/任务?

Part Number: CC1310

阅读simplelink_cc13x0_sdk_4_20_00_05版本中的example后,发现:

1.部分example使用的是Task_construct创建一个新的任务;

2.部分example使用的是pthread_create创建一个新的线程;

3.最后都是通过BIOS_start去启动任务/线程的调度。

那么有以下疑问:

1.任务和线程,这两者在SDK设计的时候有什么区别呢?是考虑到了使用场景?或者是底层实现不同?在使用时有什么需要注意的嘛?

2.任务和线程,这两者哪个更新?对于一个新的项目,使用任务好还是线程好呢?