开发者

Thread stack or Thread call stack

开发者 https://www.devze.com 2023-04-03 13:27 出处:网络
What I have read from MSDN, Each new thread or fiber receives its own stack space consisting of both reserved and initially committed memory.

What I have read from MSDN,

Each new thread or fiber receives its own stack space consisting of both reserved and initially committed memory.

Does the word 'stack' here really mean a 'call stack' or does开发者_如何学C it mean that it gets piece of memory that is called a stack?


The call stack lives on the stack. Each thread or fiber has its own private stack and that's what the topic you link to is discussing.


That is referring to the call stack - each thread/fiber needs its own to function. Is there a reason that you think it wouldn't be the call stack?

0

精彩评论

暂无评论...
验证码 换一张
取 消