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.

[参考译文] CCS/TMS320C6657:SYS/BIOS 等效"getpid()"?

Guru**** 2034770 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/570819/ccs-tms320c6657-sys-bios-equivalent-getpid

器件型号:TMS320C6657

工具/软件:Code Composer Studio

我在 Linux 中有一个函数调用 getpid()以获取 pid_t 值。   当我尝试移植代码时、是否有任何与 SYS/BIOS 等效的"getpid()"?

我正在使用 CCSv6和最新的 SYS/BIOS (具有 pthread 支持)。 谢谢。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    不支持"getpid()"。 不过有一个"pthread_self()" API。

    Todd