Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当任务在 VxWorks 中被阻塞时,保存在堆栈上的任务的上下文是什么?
你的问题有点令人困惑。当任务被阻塞时,任务的整个上下文就是被保存的内容。上下文在技术上包含在与任务堆栈分离的 TCB(任务控制块)中。
因此,被阻塞的任务没有上下文,但它的状态将被挂起。