开发者

What is the context of a task that is saved on stack when a task is blocked in VxWorks?

开发者 https://www.devze.com 2022-12-23 00:26 出处:网络
What is the context of a task that is saved on stack when a ta开发者_Python百科sk is blocked in VxWorks?Your question is a bit confusing. When a task is blocked, the entire context of the task is what

What is the context of a task that is saved on stack when a ta开发者_Python百科sk is blocked in VxWorks?


Your question is a bit confusing. When a task is blocked, the entire context of the task is what is saved. The context is technically contained in the TCB (Task Control Block) which is separate from the task stack.

Thus, a blocked task does not have a context, but it's state would be pended.

0

精彩评论

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

关注公众号