Invention Grant
US07958517B2 Apparatus, system, and method for executing functions in an event driven environment from a co-routine environment
失效
用于从共同常规环境中执行事件驱动环境中的功能的装置,系统和方法
- Patent Title: Apparatus, system, and method for executing functions in an event driven environment from a co-routine environment
- Patent Title (中): 用于从共同常规环境中执行事件驱动环境中的功能的装置,系统和方法
-
Application No.: US11626242Application Date: 2007-01-23
-
Publication No.: US07958517B2Publication Date: 2011-06-07
- Inventor: Kenneth F. Day, III , Douglas W. Dewey , Eddie Lin
- Applicant: Kenneth F. Day, III , Douglas W. Dewey , Eddie Lin
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Kunzler Needham Massey & Thorpe
- Main IPC: G06F3/00
- IPC: G06F3/00 ; G06F9/44 ; G06F9/46 ; G06F13/00

Abstract:
An apparatus, system, and method are disclosed for executing functions in an event driven environment. A bridge module stores parameters and a proxy function pointer for a proxy function in a bridge structure for a co-routine context executing in a co-routine environment. The proxy function is configured to execute in an event driven environment. The bridge module also stores a bridge pointer for the bridge structure in a bridge pointer register of an event driven context structure. A swap context module swaps to the event driven context. An execute module retrieves the proxy function pointer from the bridge structure using the bridge pointer if the bridge pointer register is not null, executes the proxy function, and stores the results of the proxy function in the bridge structure.
Public/Granted literature
Information query