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.
I'm confused with some of the TI SDKs usage of POSIX in their examples. For example, I see pthread_create all over the place. Is POSIX usage required or optional?
Many POSIX functions are supported on top of TI-RTOS kernel (also called SYS/BIOS). The usage is optional. You can even intermix usage of the native TI-RTOS APIs with the POSIX APIs (with some restrictions). Many of the TI-RTOS examples (especially in the SimpleLink SDKs) use POSIX to show portability between TI-RTOS and FreeRTOS.
Why would you use POSIX instead of the native TI-RTOS APIs?
Please note, there will be a footprint overhead for using the POSIX APIs instead of directly using the native TI-RTOS APIs.
For more information about POSIX support in TI-RTOS, please refer to the "POSIX User Guide" in the docs/tiposix/Users_Guide.html file in the SimpleLink SDK, SYS/BIOS, or Processors SDK products.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.