views:

54

answers:

1

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

A: 

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.

Benoit