What is the context of a task that is saved on stack when a task is blocked in VxWorks?
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.
精彩评论