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.

CC2652RB: 如何查询通过 pthread_create() 创建的线程中 stack 的使用情况

Part Number: CC2652RB

Hi Ti,

我通过 pthread_create() 创建了一个线程,并且通过 pthread_attr_getstacksize() 获取了其总 stack 大小。但是我还想获取实时使用了多少的 stack,请问有什么接口吗?

(我看到通过 Task_create() 创建的任务可以通过 Task_stat() 函数获取 stack 的实时使用情况)

谢谢~