发明授权
US08108880B2 Method and system for enabling state save and debug operations for co-routines in an event-driven environment 失效
用于在事件驱动环境中启用状态保存和调试操作的方法和系统

Method and system for enabling state save and debug operations for co-routines in an event-driven environment
摘要:
A method of enabling state save and debug operations for co-routines for first failure data capture (FFDC) in an event-driven environment. A stack management utility allocates space for a context structure, which includes a state field, and a stack pointer in a buffer. A context management utility initializes a first context structure of a first co-routine and saves a state of the first context structure in response to an execution request for a second co-routine. The context management utility sets a second context structure as a current context. When execution of the current context is complete, the context management utility restores the first context structure of the first co-routine as the current context. If the state field is not set to a valid value, a state save function “state saves” all allocated co-routine stacks and context structures, restores the entire system to a previous valid state, and restarts operations.
信息查询
0/0