Cosmozhang February 2016

Base address of thread stack in Linux

I have a question. In linux C programming, if we create a thread using pthread, and we can get its tid by pthread_self(). Is there a way to obtain the base address of this thread simply(Using some API from pthread)? Thank you!

Answers


Cosmozhang February 2016

It is 0x00000000. Surprisingly..

Post Status

Asked in February 2016
Viewed 2,278 times
Voted 13
Answered 1 times

Search




Leave an answer