尊敬的工程师:
您好,我看到MSP432中关于网络的部分都使用了POSIX线程,这个POSIX线程是不是等同于我们SYS/BIOS的Task线程?我是不是都可以使用Task线程来替换这个POSIX线程,还是说这些网络的例程只能使用POSIX线程,谢谢!
祝您好心情
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.
尊敬的工程师:
您好,我看到MSP432中关于网络的部分都使用了POSIX线程,这个POSIX线程是不是等同于我们SYS/BIOS的Task线程?我是不是都可以使用Task线程来替换这个POSIX线程,还是说这些网络的例程只能使用POSIX线程,谢谢!
祝您好心情
POSIX is an IEEE industry API standard for OS compatibility. POSIX is not an RTOS. It resides on top of either TI-RTOS or FreeRTOS. As you can see with the following diagram, POSIX hides the underlying RTOS from the application.

SYS/BIOS also provides a subset of the POSIX thread (pthread) APIs. These include pthread threads,mutexes, read-write locks, barriers, and condition variables. The pthread APIs can simplify porting applications from a POSIX environment to SYS/BIOS, as well as allowing the same code to be compiled to run in a POSIX environment and with SYS/BIOS. As the pthread APIs are built on top of the SYS/BIOS Task and Semaphore modules, some of the POSIX APIs can be called from SYS/BIOS Tasks.
processors.wiki.ti.com页面上旧的“ SYS / BIOS中的POSIX支持”的内容已移至POSIX用户指南文档中,该文档现在已包含在SDK中。例如:在以下页面上搜索POSIX:

另外也可以参考
