发明名称 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.
申请公布号 US8108880(B2) 申请公布日期 2012.01.31
申请号 US20070682956 申请日期 2007.03.07
申请人 DEWEY DOUGLAS W.;GHOMAN SANGRAM SINGH;SHERMAN WILLIAM G.;FIENBLIT SHACHAR;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DEWEY DOUGLAS W.;GHOMAN SANGRAM SINGH;SHERMAN WILLIAM G.;FIENBLIT SHACHAR
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址